Skip to content

Commit c876816

Browse files
authored
Update agent-docusarus-dev.yml
1 parent 897b110 commit c876816

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/agent-docusarus-dev.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,16 @@ EOF
135135
}
136136
}
137137
138-
const summary = "## 🤖 Claude Docusaurus Review\n\n" +
139-
reviewContent +
140-
"\n\n---\n<sub>Automated review by Claude Code</sub>";
138+
// Escape backticks that might break template literal
139+
const safeContent = reviewContent.replace(/`/g, '\\`');
140+
141+
const summary = `## 🤖 Claude Docusaurus Review
142+
143+
${safeContent}
144+
145+
---
146+
147+
<sub>Automated review by Claude Code</sub>`;
141148

142149
await github.rest.issues.createComment({
143150
issue_number: context.issue.number,

0 commit comments

Comments
 (0)