From 1d79c78f21f286b1afe71720dd60dfe0f10c3406 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 9 Jun 2022 10:12:45 +0100 Subject: [PATCH] Update cypress.yaml --- .github/workflows/cypress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);