mirror of
https://github.com/systemd/systemd.git
synced 2026-06-30 19:57:29 +00:00
ci: Generalize escaping instructions in claude-review prompt
This commit is contained in:
committed by
Daan De Meyer
parent
3af158759f
commit
7aa94251fe
9
.github/workflows/claude-review.yml
vendored
9
.github/workflows/claude-review.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user