Pass PR details to Cypress

pull/28788/head^2
Michael Telatynski 2023-01-13 10:35:45 +00:00
parent 2acf78a9e4
commit 683b0928f3
No known key found for this signature in database
GPG Key ID: 98BC6A2B829297FE
1 changed files with 2 additions and 0 deletions

View File

@ -151,6 +151,8 @@ jobs:
COMMIT_INFO_MESSAGE: ${{ needs.prepare.outputs.commit_message }}
COMMIT_INFO_AUTHOR: ${{ needs.prepare.outputs.commit_author }}
COMMIT_INFO_EMAIL: ${{ needs.prepare.outputs.commit_email }}
CYPRESS_PULL_REQUEST_ID: ${{ needs.prepare.outputs.pr_id }}
CYPRESS_PULL_REQUEST_URL: https://github.com/${{ github.repository }}/pull/${{ needs.prepare.outputs.pr_id }}
# pass the Percy token as an environment variable
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}