@@ -66,24 +66,24 @@ jobs:
6666 - name : Create review prompt
6767 if : steps.check-files.outputs.skip_review != 'true'
6868 run : |
69- cat > /tmp/review-prompt.txt << 'EOF '
70- Review this pull request focusing exclusively on Docusaurus infrastructure and configuration files.
69+ cat > /tmp/review-prompt.txt << 'REVIEW_PROMPT_EOF '
70+ Review this pull request focusing exclusively on Docusaurus infrastructure and configuration files.
7171
72- Analyze changes to :
73- - docusaurus.config.js (site configuration, plugins, themes)
74- - sidebars.js (navigation structure)
75- - package.json (dependencies, scripts)
76- - Build configuration files
77- - Source code in src/ directory
78- - GitHub Actions workflows
72+ Analyze changes to:
73+ - docusaurus.config.js (site configuration, plugins, themes)
74+ - sidebars.js (navigation structure)
75+ - package.json (dependencies, scripts)
76+ - Build configuration files
77+ - Source code in src/ directory
78+ - GitHub Actions workflows
7979
80- For each issue found, provide :
81- 1. Clear explanation of the problem
82- 2. Specific code suggestion with reasoning
83- 3. Potential impact on the documentation site
80+ For each issue found, provide:
81+ 1. Clear explanation of the problem
82+ 2. Specific code suggestion with reasoning
83+ 3. Potential impact on the documentation site
8484
85- Ignore all .md and .mdx files - focus only on the technical infrastructure.
86- EOF
85+ Ignore all .md and .mdx files - focus only on the technical infrastructure.
86+ REVIEW_PROMPT_EOF
8787
8888 - name : Read system prompt for append
8989 if : steps.check-files.outputs.skip_review != 'true'
@@ -129,20 +129,20 @@ EOF
129129
130130 # Create comment file with proper escaping
131131 cat > /tmp/comment.md << 'HEADER'
132- # # 🤖 Claude Docusaurus Review
132+ ## 🤖 Claude Docusaurus Review
133133
134- HEADER
134+ HEADER
135135
136136 # Append the review content
137137 echo "$REVIEW_CONTENT" >> /tmp/comment.md
138138
139139 # Add footer
140140 cat >> /tmp/comment.md << 'FOOTER'
141141
142- ---
142+ ---
143143
144- <sub>Automated review by Claude Code</sub>
145- FOOTER
144+ <sub>Automated review by Claude Code</sub>
145+ FOOTER
146146
147147 # Post comment using GitHub API
148148 jq -n --arg body "$(cat /tmp/comment.md)" '{body: $body}' | \
0 commit comments