]> git.ipfire.org Git - thirdparty/systemd.git/commit
ci: Review PRs per-commit and attach comments to correct commits 41123/head
authorDaan De Meyer <daan@amutable.com>
Mon, 16 Mar 2026 14:33:11 +0000 (15:33 +0100)
committerDaan De Meyer <daan@amutable.com>
Mon, 16 Mar 2026 15:12:04 +0000 (16:12 +0100)
commit94a695d89a8d72d7c9335772fdd423f073a6e90a
treea436a3be0ed5e73cc206fa1c7f1087fe81fef8db
parent52c4aca21e14df25851e27cf2b77b5bcf6b59236
ci: Review PRs per-commit and attach comments to correct commits

Switch claude-review from reviewing the entire PR diff at once to
reviewing each commit individually via subagents. Each commit review
subagent receives the PR context, preceding commit diffs, and its own
commit diff, then returns comments tagged with the commit SHA. This
ensures review comments are attached to the correct commit via the
GitHub API rather than all pointing at HEAD.

Also add Bash(gh:*) to allowed tools so subagents can fetch per-commit
diffs via `gh api` without needing local git objects, and remove CI
analysis (needs to be delayed until CI finishes to be useful).

Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com>
.github/workflows/claude-review.yml