Browse Source

test(snapshots): Add API token for snapshots (#19978)

This passes API token to snapshot action to use external API for snapshots so that we can approve snapshot builds.
Billy Vong 4 years ago
parent
commit
c9cba80835
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .github/workflows/acceptance.yml

+ 2 - 1
.github/workflows/acceptance.yml

@@ -218,6 +218,7 @@ jobs:
           id: visual-snapshots-diff
           uses: getsentry/action-visual-snapshot@v2
           with:
-            githubToken: ${{ secrets.GITHUB_TOKEN }}
+            api-token: ${{ secrets.VISUAL_SNAPSHOT_SECRET }}
+            github-token: ${{ secrets.GITHUB_TOKEN }}
             gcs-bucket: 'sentry-visual-snapshots'
             gcp-service-account-key: ${{ secrets.SNAPSHOT_GOOGLE_SERVICE_ACCOUNT_KEY }}