chore(ci): request review on auto-generated PRs - #330
Merged
Conversation
The docs-bucket and starter-bucket import workflows opened PRs with no reviewer, so they went unnoticed until someone happened to check open PRs manually. Reviewers now come from the AUTO_PR_REVIEWERS repo variable so the roster can change without touching the workflow files. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
reviewers: ${{ vars.AUTO_PR_REVIEWERS }}into bothpeter-evans/create-pull-requeststeps (docs-bucket and starter-bucket import workflows) so the resulting PRs get a reviewer instead of going unwatched.AUTO_PR_REVIEWERSrepo variable (comma-separated GitHub usernames), so it can be updated without a workflow edit.Note: team-reviewers wasn't viable here — it needs org-read scope, which the default
GITHUB_TOKENthese jobs use doesn't carry (would require a PAT/GitHub App token). Named-reviewer works fine with existing permissions as long as names are repo collaborators with write+ access.Test plan
AUTO_PR_REVIEWERSrepo variable is set (already done:demtario,qunabu)workflow_dispatch) and confirm the opened PR requests review from those users🤖 Generated with Claude Code
Note
Low Risk
CI-only change to PR metadata; no runtime or application logic is affected.
Overview
Auto-generated PRs from the Import versioned docs examples and Import versioned starter examples workflows now request reviews via
reviewers: ${{ vars.AUTO_PR_REVIEWERS }}on thepeter-evans/create-pull-requeststep, so those chores don’t land without a named reviewer.The roster is configured in the repo variable
AUTO_PR_REVIEWERS(comma-separated GitHub usernames), so you can change who gets pinged without editing the workflows.Reviewed by Cursor Bugbot for commit a6d33b7. Bugbot is set up for automated code reviews on this repo. Configure here.