feat: centralize reviewer assignment and update README#41
Merged
Conversation
- Rewrite assign_reviewers.yml as a reusable workflow (workflow_call) so all cp-* repos can reference it instead of maintaining their own reviewer list - Replace kentaro-m/auto-assign-action with actions/github-script to call GitHub API directly; filters out PR author automatically - Update README to reflect current workflow inventory with usage examples Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Static Code Review 📊 ✅ All quality checks passed! |
suntsai-coolbitx
approved these changes
Jun 10, 2026
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
assign_reviewers.ymlas a reusable workflow (workflow_call), so all cp-* repos can call it instead of maintaining their own reviewer listkentaro-m/auto-assign-actionwithactions/github-script— calls GitHub API directly, filters out PR author, no config file dependencyMotivation
Slack bots (GitHub App / typo) only notify on individual reviewer assignment, not team group assignment. We want individual assignment but without maintaining the list in every repo. Now the list lives in one place — update
assign_reviewers.ymlhere and all repos pick it up automatically.How to migrate other repos
Replace the existing
assign_reviewers.yml(andauto_assign.ymlif present) with:Test plan
🤖 Generated with Claude Code
PR Summary by Typo
Overview
This PR centralizes the logic for assigning reviewers to pull requests within a reusable GitHub Actions workflow and significantly updates the project's
README.mdto document this and other reusable workflows.Key Changes
assign_reviewers.ymlworkflow was converted into a reusable workflow (workflow_call).github-scriptto allow for more flexible logic, including excluding the PR author from the assigned reviewers.assign_reviewers.ymlworkflow.README.mdwas extensively updated to provide comprehensive documentation and usage examples for all reusable workflows, including the newassign_reviewers.yml.Work Breakdown
To turn off PR summary, please visit Notification settings.