]> git.ipfire.org Git - thirdparty/systemd.git/commit
ci: Fix several robustness issues in claude-review workflow 41115/head
authorDaan De Meyer <daan@amutable.com>
Sun, 15 Mar 2026 20:53:01 +0000 (21:53 +0100)
committerDaan De Meyer <daan@amutable.com>
Mon, 16 Mar 2026 08:16:19 +0000 (09:16 +0100)
commit7178e3829fb7458e95ba6f9fc598226b0e8d1b76
tree56190d4cdfc5d39e63f0a2aa6d3ee18afb9338ab
parent876d36f68abf5ff9606f2c0862641a931328c0d0
ci: Fix several robustness issues in claude-review workflow

- Use github.paginate() for listComments to handle PRs with 100+ comments
- Make line optional in review schema to allow file-level comments
- Skip createReviewComment for comments without a line number
- Fix failed count to exclude skipped file-level comments
- Pass review result via env var instead of expression injection
- Use core.warning() instead of console.log() for JSON parse failures
- Fix MARKER insertion for single-line summaries that have no newline
- Require "@claude review" instead of just "@claude" to trigger

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