Browse Source

feat(ci): Update additional calls to `action-visual-snaphot` (#42314)

Filter by commit using API rather than code (eliminates unnecessary
pagination)

(Missed these in #42262)
Billy Vong 2 years ago
parent
commit
d8e48ff5ce
1 changed files with 4 additions and 4 deletions
  1. 4 4
      .github/workflows/acceptance.yml

+ 4 - 4
.github/workflows/acceptance.yml

@@ -103,7 +103,7 @@ jobs:
           css-path: src/sentry/static/sentry/dist/entrypoints/sentry.css
 
       - name: Save snapshots
-        uses: getsentry/action-visual-snapshot@5811b6c34e1ec3b9fc30613d4b55ef740fec6086  # main
+        uses: getsentry/action-visual-snapshot@cbb092a1a0045c954dcecd9a56bf623754648e18  # main
         with:
           save-only: true
           snapshot-path: .artifacts/visual-snapshots
@@ -180,7 +180,7 @@ jobs:
           PYTEST_SNAPSHOTS_DIR: ${{ steps.setup.outputs.acceptance-dir }}
 
       - name: Save snapshots
-        uses: getsentry/action-visual-snapshot@5811b6c34e1ec3b9fc30613d4b55ef740fec6086  # main
+        uses: getsentry/action-visual-snapshot@cbb092a1a0045c954dcecd9a56bf623754648e18  # main
         with:
           save-only: true
           snapshot-path: .artifacts/visual-snapshots
@@ -243,7 +243,7 @@ jobs:
           PYTEST_SNAPSHOTS_DIR: ${{ steps.setup.outputs.acceptance-dir }}
 
       - name: Save snapshots
-        uses: getsentry/action-visual-snapshot@5811b6c34e1ec3b9fc30613d4b55ef740fec6086  # main
+        uses: getsentry/action-visual-snapshot@cbb092a1a0045c954dcecd9a56bf623754648e18  # main
         with:
           save-only: true
           snapshot-path: .artifacts/visual-snapshots
@@ -269,7 +269,7 @@ jobs:
           echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
 
       - name: Diff snapshots
-        uses: getsentry/action-visual-snapshot@5811b6c34e1ec3b9fc30613d4b55ef740fec6086  # main
+        uses: getsentry/action-visual-snapshot@cbb092a1a0045c954dcecd9a56bf623754648e18  # main
         # Run this step only if there are acceptance related code changes
         # Forks are handled in visual-diff.yml
         if: needs.files-changed.outputs.acceptance == 'true' && github.event.pull_request.head.repo.full_name == 'getsentry/sentry'