Repository navigation
Conversation
This lets the review bot label each PR it reviews with its verdict, so the queue can be filtered at a glance: `Auto review: Good` (nothing to change), `Auto review: Nits`, `Auto review: Discuss` and `Auto review: Change`. They join `Auto review: Skipped` on the allowlist, and a review payload swaps one for another. I've created them and applied them to open PRs from their latest reviews. A verdict only describes the head it reviewed, so a push to the PR now removes it until the next review. That job runs on `pull_request_target`, but only removes labels and never checks out PR code. Changelog: Internal Test plan: `repository_dispatch` workflows only run from `main`, so I ran both jobs against a mocked `github`/`core`/`context`: a push removes only the verdict label and tolerates one that's already gone, a review payload swaps one verdict for another and creates a missing label, a skip removes any verdict label, and unknown labels are still rejected. `actionlint` is clean.
Metro review: Looks goodRisk: low · Commit: This PR adds four verdict labels (Good, Nits, Discuss, Change) to the review-post workflow's allowlist. It also adds a No findings. Verified
Not run: I didn't run the workflow on GitHub Actions, so the concurrency-group behavior and the label API calls are checked by reading the code only. I couldn't read the sender script outside this repo to confirm it removes the previous verdict label when a head is re-reviewed. No benchmarks: this is CI-only code. Windows doesn't matter here. Automated review by Claude. Advisory only: it never approves or blocks, and a maintainer makes the call. |
Adds verdict labels (Good, Nits, Discuss, Change) for the review bot, and clears them on push.
Changelog: Internal