|
@@ -326,8 +326,9 @@ jobs:
|
|
|
- name: Diff snapshots
|
|
|
id: visual-snapshots-diff
|
|
|
uses: getsentry/action-visual-snapshot@main
|
|
|
+ # Run this step only if there are acceptance related code changes
|
|
|
# Forks are handled in visual-diff.yml
|
|
|
- if: github.event.pull_request.head.repo.full_name == 'getsentry/sentry'
|
|
|
+ if: needs.files-changed.outputs.acceptance == 'true' && github.event.pull_request.head.repo.full_name == 'getsentry/sentry'
|
|
|
with:
|
|
|
api-token: ${{ secrets.VISUAL_SNAPSHOT_SECRET }}
|
|
|
gcs-bucket: 'sentry-visual-snapshots'
|