Problem
The PR Review agentic workflow (.github/workflows/pr-review.md) only triggers on pull_request types opened and ready_for_review. When a contributor pushes new commits to address review feedback, the bot does not re-run automatically.
Observed in PR #1314: the bot reviewed once on the opened event, the contributor pushed a fix commit addressing all feedback, but the bot never re-reviewed. The needs-revision label remains applied with no path to automated re-evaluation.
Proposed Fix
-
Add synchronize to pull_request.types — triggers the bot when new commits are pushed to the PR branch. The existing cancel-in-progress: true concurrency group handles rapid successive pushes for cost control.
-
Add label_command: re-review (restricted to pull_request events) — provides an on-demand manual re-trigger by applying a re-review label. The label auto-removes after activation so it can be re-applied. Also generates a workflow_dispatch trigger with item_number input for manual testing.
Files to Change
.github/workflows/pr-review.md — frontmatter trigger configuration
.github/workflows/pr-review.lock.yml — recompile via gh aw compile pr-review
References
Problem
The PR Review agentic workflow (
.github/workflows/pr-review.md) only triggers onpull_requesttypesopenedandready_for_review. When a contributor pushes new commits to address review feedback, the bot does not re-run automatically.Observed in PR #1314: the bot reviewed once on the
openedevent, the contributor pushed a fix commit addressing all feedback, but the bot never re-reviewed. Theneeds-revisionlabel remains applied with no path to automated re-evaluation.Proposed Fix
Add
synchronizetopull_request.types— triggers the bot when new commits are pushed to the PR branch. The existingcancel-in-progress: trueconcurrency group handles rapid successive pushes for cost control.Add
label_command: re-review(restricted topull_requestevents) — provides an on-demand manual re-trigger by applying are-reviewlabel. The label auto-removes after activation so it can be re-applied. Also generates aworkflow_dispatchtrigger withitem_numberinput for manual testing.Files to Change
.github/workflows/pr-review.md— frontmatter trigger configuration.github/workflows/pr-review.lock.yml— recompile viagh aw compile pr-reviewReferences