Skip to content

Request a Copilot review on release PRs - #1346

Merged
jaspertey merged 4 commits into
mainfrom
release-copilot-review
Dec 1, 2026
Merged

jaspertey merged 4 commits into
mainfrom
release-copilot-review

Conversation

@jaspertey

Copy link
Copy Markdown
Member

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.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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 @copilot using 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

Comment thread .github/workflows/release-review.yml Outdated

jobs:
copilot:
if: startsWith(github.head_ref, 'release-') && !github.event.pull_request.draft

@jaspertey jaspertey Dec 1, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@jaspertey
jaspertey merged commit 1511260 into main Dec 1, 2026
9 checks passed
@jaspertey
jaspertey deleted the release-copilot-review branch December 1, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants