Repository navigation
Request a Copilot review on release PRs - #1346
Merged
Merged
Conversation
jaspertey
force-pushed
the
release-copilot-review
branch
from
December 1, 2026 16:17
f7826df to
e774601
Compare
This was referenced Dec 1, 2026
There was a problem hiding this comment.
🟡 Changes recommended
The release-review workflow can run for release-branch pull requests targeting branches other than main, so its trigger condition needs an explicit base-branch check.
1 open issue
What changed in this PR
Adds a GitHub Actions workflow to request a Copilot review for non-draft release pull requests as part of the repository's release-promotion review process.
Changes:
- Triggers when pull requests are opened or marked ready for review.
- Targets pull requests from
release-*branches and requests@copilotusing pull-request write permissions. - Does not currently restrict the target branch to
main, allowing unrelated release-named pull requests to receive the review.
| File | Description |
|---|---|
| .github/workflows/release-review.yml | Adds a workflow that requests a Copilot review for non-draft pull requests from release-* branches. |
Review effort: Lite
|
|
||
| jobs: | ||
| copilot: | ||
| if: startsWith(github.head_ref, 'release-') && !github.event.pull_request.draft |
Member
Author
There was a problem hiding this comment.
Leaving this as is, on purpose. Library release PRs also target maintenance branches (concierge cuts patch releases into 0.9.x), and those need the review too, so a main-only check would skip them. No library opens release PRs into production or live, and the org ruleset already covers those bases.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Release PRs (head release-, base main) get one Copilot review, per house rule Review on promotion. The Copilot ruleset matches base branches only (live, production, release/, reviewed), so it never saw them. This PR's own head matches release-*, so it tests the workflow.