From 683b0928f34e5a6cc80ca758671ca6a049e931db Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 13 Jan 2023 10:35:45 +0000 Subject: [PATCH] Pass PR details to Cypress --- .github/workflows/cypress.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cypress.yaml b/.github/workflows/cypress.yaml index ee57bbe4c8..d114217f5c 100644 --- a/.github/workflows/cypress.yaml +++ b/.github/workflows/cypress.yaml @@ -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 }}