visual-diff.yml 553 B

12345678910111213141516171819202122
  1. name: visual diff
  2. on:
  3. workflow_run:
  4. workflows:
  5. - acceptance
  6. types:
  7. - completed
  8. jobs:
  9. visual-diff:
  10. if: github.repository == 'getsentry/sentry'
  11. runs-on: ubuntu-18.04
  12. timeout-minutes: 20
  13. steps:
  14. - name: Diff snapshots
  15. id: visual-snapshots-diff
  16. uses: getsentry/action-visual-snapshot@v2
  17. with:
  18. api-token: ${{ secrets.VISUAL_SNAPSHOT_SECRET }}
  19. gcs-bucket: 'sentry-visual-snapshots'
  20. gcp-service-account-key: ${{ secrets.SNAPSHOT_GOOGLE_SERVICE_ACCOUNT_KEY }}