Skip to content

Commit 8c32020

Browse files
authored
Use pre-approved environment for main (#2004)
1 parent cd8a5bb commit 8c32020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/visual_testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
chromatic:
1010
name: Visual testing
1111
runs-on: ubuntu-latest
12-
environment: visual-testing
12+
environment: ${{ github.ref == 'refs/heads/main' && 'Preview' || 'needs-approval' }}
1313
steps:
1414
- name: Checkout repository
1515
uses: actions/checkout@v2

0 commit comments

Comments
 (0)