Skip to content

ci: re-review pull requests on every push#35

Merged
gf712 merged 1 commit into
mainfrom
rereview-on-push
Jul 6, 2026
Merged

ci: re-review pull requests on every push#35
gf712 merged 1 commit into
mainfrom
rereview-on-push

Conversation

@gf712

@gf712 gf712 commented Jul 6, 2026

Copy link
Copy Markdown
Owner

The code-review command stopped as soon as a previous claude[bot] review existed on the pull request, so commits pushed after the first completed review were never reviewed — the synchronize-triggered rerun spun up a job only to no-op at the gate. Drop the already-reviewed stop condition and instead collect the earlier claude[bot] inline comments up front, filtering previously reported findings out of the final list so each rerun reviews the new head and posts only new issues. The collection step needs gh api; allow it only for this repo's pulls endpoints rather than blanket, since the command also runs locally where gh holds a broadly scoped personal token. Reword the summary templates to count this run's new findings.

The code-review command stopped as soon as a previous claude[bot]
review existed on the pull request, so commits pushed after the first
completed review were never reviewed — the synchronize-triggered rerun
spun up a job only to no-op at the gate. Drop the already-reviewed
stop condition and instead collect the earlier claude[bot] inline
comments up front, filtering previously reported findings out of the
final list so each rerun reviews the new head and posts only new
issues. The collection step needs gh api; allow it only for this
repo's pulls endpoints rather than blanket, since the command also
runs locally where gh holds a broadly scoped personal token. Reword
the summary templates to count this run's new findings.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gf712 gf712 merged commit 848e7ed into main Jul 6, 2026
1 of 2 checks passed
@gf712 gf712 deleted the rereview-on-push branch July 6, 2026 19:39
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.

1 participant