sincecutoff.com
← all changes

GitHub GraphQL `PullRequest.suggestedReviewerActors` accepts `query`

Introduced 2026-01-21 · score 0.91

HOW TO USE IT

When you need reviewer actor suggestions filtered by a search string, pass `query` to `PullRequest.suggestedReviewerActors`; it searches actor usernames and logins. [GitHub Pull requests reference](https://docs.github.com/en/enterprise-cloud@latest/graphql/reference/pulls)

query { repository(owner: "<owner>", name: "<repo>") { pullRequest(number: <number>) { suggestedReviewerActors(query: "<search string>", first: 10) { nodes { reviewer { __typename } } } } } }

WHY THIS HELPS

Query suggested reviewer actors for a pull request using a search string.

REQUIREMENTS AND LIMITATIONS

  • query: Search actors by user name and login.
  • first: Return the first n connection elements.
  • owner (required): Repository owner login. The query uses the repository field.
  • name (required): Repository name. The query uses the repository field.
  • number (required): Pull request number. The query uses the pullRequest field.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card