Skip to content

Commit 111a5f4

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent b581dea commit 111a5f4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/merge-automation-prs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
test "$(jq -r '.author.login' <<<"$pull_request")" = "${APP_SLUG}[bot]"
3838
test "$(jq -r '.baseRefName' <<<"$pull_request")" = main
3939
test "$(jq -r '.state' <<<"$pull_request")" = OPEN
40+
test "$(jq -r '.headRefOid' <<<"$pull_request")" = "$HEAD_SHA"
4041
gh pr merge "$(jq -r '.number' <<<"$pull_request")" \
4142
--repo "$GITHUB_REPOSITORY" \
4243
--squash \

0 commit comments

Comments
 (0)