Skip to content

Commit

Permalink
associate percy build with PR
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuzina committed May 16, 2024
1 parent 39e06c2 commit 65bfcc9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pr-percy-create-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ jobs:
id: percy_snapshot
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN_WRITE }}
PERCY_PULL_REQUEST: ${{ steps.get_pr_data.outputs.pr }}
# This identifies the diff in the percy diffs list
PERCY_BRANCH: "pull/${{ steps.get_pr_data.outputs.pr }}"
#PERCY_BRANCH: "${{ github.event.workflow_run.head_repository.full_name }}/${{ github.event.workflow_run.head_branch }}"
#PERCY_PULL_REQUEST: ${{ steps.get_pr_data.outputs.pr }}
PERCY_COMMIT: ${{ steps.get_pr_data.outputs.sha }}
PERCY_CLIENT_ERROR_LOGS: false
run: |
Expand Down

0 comments on commit 65bfcc9

Please sign in to comment.