From: Daan De Meyer Date: Tue, 24 Mar 2026 09:15:21 +0000 (+0100) Subject: ci: Generalize escaping instructions in claude-review prompt X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aa94251fe07a62745df8014af2c93c3105fcb69;p=thirdparty%2Fsystemd.git ci: Generalize escaping instructions in claude-review prompt --- diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index 88d74295c2b..6e0b25c4536 100644 --- a/.github/workflows/claude-review.yml +++ b/.github/workflows/claude-review.yml @@ -275,9 +275,6 @@ jobs: The `commit` field MUST be the SHA of the commit being reviewed. Only comment on changes in that commit — not preceding commits. - Do NOT escape characters in `body`. Write plain markdown — no backslash - escaping of `!` or other characters. - `line` should be a line number from the NEW side of the diff **that appears inside a diff hunk**. GitHub rejects lines outside the diff context. If you cannot determine a valid diff line, omit `line`. @@ -351,6 +348,12 @@ jobs: not available, git commands that failed, etc.), append a `### Errors` section to the summary listing each failed action and the error message. + ## Output formatting + + Do NOT escape characters in `body` or `summary`. Write plain markdown — no + backslash escaping of `!` or other characters. In particular, HTML comments + like `` must be written verbatim, never as `<\!-- ... -->`. + ## CRITICAL: Write review result to file Your FINAL action must be to write `review-result.json` in the repo