diff --git a/.github/workflows/cypress.yaml b/.github/workflows/cypress.yaml index 6cfb95d0a6..5c59a6d6bc 100644 --- a/.github/workflows/cypress.yaml +++ b/.github/workflows/cypress.yaml @@ -54,7 +54,7 @@ jobs: const response = await github.rest.git.getCommit({ owner: context.repo.owner, repo: context.repo.repo, - commit_sha: context.workflow_run.head_sha, + commit_sha: "${{ github.event.workflow_run.head_sha }}", }); core.exportVariable("COMMIT_INFO_MESSAGE", response.data.message); core.exportVariable("COMMIT_INFO_AUTHOR", response.data.author.name);