We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd8a5bb commit 8c32020Copy full SHA for 8c32020
.github/workflows/visual_testing.yml
@@ -9,7 +9,7 @@ jobs:
9
chromatic:
10
name: Visual testing
11
runs-on: ubuntu-latest
12
- environment: visual-testing
+ environment: ${{ github.ref == 'refs/heads/main' && 'Preview' || 'needs-approval' }}
13
steps:
14
- name: Checkout repository
15
uses: actions/checkout@v2
0 commit comments