diff --git a/.github/workflows/check-status.yml b/.github/workflows/check-status.yml index 3679986575..c9b593ee5f 100644 --- a/.github/workflows/check-status.yml +++ b/.github/workflows/check-status.yml @@ -47,7 +47,7 @@ jobs: const result = await github.rest.checks.listSuitesForRef({ owner: context.repo.owner, repo: context.repo.repo, - ref: "${{ github.event.pull_request.head.sha }}" + ref: "${{ github.head_ref }}" }); result.data.check_suites.forEach(({ app: { slug }, conclusion, id}) => { if (slug === 'github-actions') {