Skip to content

fix(ci): add synchronize trigger and label_command to PR Review workflow #1322

@WilliamBerryiii

Description

@WilliamBerryiii

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

  1. 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.

  2. 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

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions