Skip to content

fix: support team pull request reviewers#2514

Open
he-yufeng wants to merge 1 commit into
github:mainfrom
he-yufeng:fix/pull-request-team-reviewers
Open

fix: support team pull request reviewers#2514
he-yufeng wants to merge 1 commit into
github:mainfrom
he-yufeng:fix/pull-request-team-reviewers

Conversation

@he-yufeng
Copy link
Copy Markdown

Summary

  • allow reviewers to include ORG/team-slug entries for pull request review requests
  • split team reviewer entries into GitHub's team_reviewers request field while keeping ordinary usernames in reviewers
  • apply the same behavior to the consolidated update_pull_request tool and the granular request_pull_request_reviewers tool
  • update the tool schema snapshot and README wording to document the accepted format

To verify

  • go test ./pkg/github -run 'Test_UpdatePullRequest|TestGranularRequestPullRequestReviewers'
  • go test ./pkg/github
  • git diff --check

Fixes #2440

@he-yufeng he-yufeng requested a review from a team as a code owner May 20, 2026 19:47
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.

update_pull_request: reviewers field silently ignores team slugs

1 participant