diff --git a/.github/workflows/scheduled_e2e_test.yaml b/.github/workflows/scheduled_e2e_test.yaml index d3db6b139..508ead224 100644 --- a/.github/workflows/scheduled_e2e_test.yaml +++ b/.github/workflows/scheduled_e2e_test.yaml @@ -250,7 +250,7 @@ jobs: REF_SHA=$(gh api \ -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - /repos/${{ secrets.E2E_TESTING_REPO }}/git/ref/heads/$GITHUB_HEAD_REF \ + /repos/${{ secrets.E2E_TESTING_REPO }}/git/ref/heads/$GITHUB_REF_NAME \ --jq .object.sha) # Create a temporary reference/branch