Skip to content

Commit

Permalink
Set Percy target branch
Browse files Browse the repository at this point in the history
Modify GitHub actions config so that Percy runs comparisons with the PR's target branch as the base, rather than always using 'main'.
  • Loading branch information
querkmachine committed Sep 5, 2023
1 parent a576f86 commit 87b6670
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:

env:
PERCY_PARALLEL_NONCE: ${{ github.run_id }}-${{ github.run_attempt }}
PERCY_TARGET_BRANCH: ${{ github.base_ref }}
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}

# Skip when secrets are unavailable on forks
Expand Down

0 comments on commit 87b6670

Please sign in to comment.