You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
release-merge.yml: every Copilot review leaves a workflow run awaiting maintainer approval #372
priority: mediumShould be addressed in the normal course of developmentstatus: implementedBuilt and deployed, but not yet fully tested/verifiedtype: bugSomething is broken or not behaving as expectedtype: ciChanges to CI workflows, actions, or build pipelines
The release-merge.yml caller (examples/individual-repo-workflows/release-flow-v4/release-merge.yml) triggers on pull_request_review: [submitted]. When Copilot submits a review, the review event's actor is the Copilot bot. GitHub holds a workflow run triggered by a bot actor until a maintainer approves it, so every Copilot review on every PR leaves a "🚦 Release Merge (v4)" run with conclusion action_required. The PR shows it as a run waiting for approval, which looks like a security or CodeQL hold and isn't one.
The runs do nothing useful: the workflow only acts on a maintainer's approval of the release PR. The same workflow also runs from the maintainer's own pushes and reviews, and those runs succeed.
Fix wanted. Don't start the job for a review that cannot arm the merge. At the caller, add a job-level if: that skips pull_request_review events whose review is not an approval, or whose reviewer is a bot (github.event.review.user.type == 'Bot'), or both. A job skipped by if: still needs the run to be approved when the actor is a bot, so check whether that removes the hold. If it doesn't, narrow the trigger instead: pull_request_review has no event-level filter on the reviewer, so that leaves moving the arming step to workflow_run, or accepting the held runs. Then apply the change to every consumer's copy through the usual workflow sync.
Acceptance:
A Copilot review on a feature PR leaves no run waiting for approval.
A maintainer's approval of the release PR still arms the merge.
priority: mediumShould be addressed in the normal course of developmentstatus: implementedBuilt and deployed, but not yet fully tested/verifiedtype: bugSomething is broken or not behaving as expectedtype: ciChanges to CI workflows, actions, or build pipelines
Activity
fix(release-merge): skip bot and non-approval reviews so Copilot revi…
cldmv-bot commentedon Oct 12, 2026
Marked
status: implemented— resolved by #373, merged intonext. This issue closes automatically when that work ships to the default branch.cldmv-bot commentedon Oct 12, 2026
Closed in v4.33.0 — resolved by #373.