Skip to content

Commit

Permalink
Skip “Percy screenshots” when secrets are unavailable on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Nov 21, 2022
1 parent 7b96ef0 commit c2b4e04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,6 @@ jobs:
needs: [install, build]
uses: ./.github/workflows/screenshots.yml
secrets: inherit

# Skip when secrets are unavailable on forks
if: ${{ github.repository_owner == 'alphagov' }}

0 comments on commit c2b4e04

Please sign in to comment.