Skip to content

Add GitHub Action for PR review requests via /review comment#105

Open
eerxuan wants to merge 2 commits intodocumentdb:mainfrom
eerxuan:add-review-request-action
Open

Add GitHub Action for PR review requests via /review comment#105
eerxuan wants to merge 2 commits intodocumentdb:mainfrom
eerxuan:add-review-request-action

Conversation

@eerxuan
Copy link
Copy Markdown
Collaborator

@eerxuan eerxuan commented Apr 15, 2026

Adds a /review command for PR comments, similar to the existing /take command for issues.

Usage

Comment on a PR:

  • /review @user1 — request review from one person
  • /review @user1 @user2 — request from multiple people

Restrictions

  • Only the PR author can use /review
  • Cannot request review from yourself
  • Only triggers on PR comments (not issue comments)

Dependencies

  • actions/github-script@v7 (already used by the assign workflow)

@eerxuan eerxuan requested a review from a team as a code owner April 15, 2026 19:16
Allows PR authors to request reviews by commenting /review @user1 @user2.
- Only the PR author can trigger the command
- Prevents self-review requests
- Provides feedback for invalid usage

Signed-off-by: Yunxuan Shi <yunxuan@amazon.com>
@eerxuan eerxuan force-pushed the add-review-request-action branch from c7b1f45 to 5998543 Compare April 15, 2026 19:19
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