Skip to content

Commit

Permalink
fix(ci): check PR status from head branch name (#1707)
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret committed Sep 17, 2024
1 parent 0e1e26e commit 441b560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 441b560

Please sign in to comment.