Skip to content

Commit dfafca3

Browse files
amrit110claude
andcommitted
Fix YAML syntax error on line 209 in fix-remote-pr.yml
Changed Gemini CLI comment invocation to use --body-file instead of inline multi-line string, which was causing YAML parsing errors. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent ea42ec4 commit dfafca3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/fix-remote-pr.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,14 @@ jobs:
200200
run: |
201201
REPO="${{ github.event.inputs.target_repo }}"
202202
PR_NUMBER="${{ github.event.inputs.pr_number }}"
203-
PROMPT=$(cat /tmp/gemini-prompt.txt)
204203
205204
# Post comment to trigger gemini-cli
206205
# Note: gemini-cli works via PR comments in the target repo
207-
gh pr comment $PR_NUMBER --repo "$REPO" --body "@gemini-cli
206+
echo "@gemini-cli" > /tmp/gemini-comment.txt
207+
echo "" >> /tmp/gemini-comment.txt
208+
cat /tmp/gemini-prompt.txt >> /tmp/gemini-comment.txt
208209
209-
$PROMPT"
210+
gh pr comment $PR_NUMBER --repo "$REPO" --body-file /tmp/gemini-comment.txt
210211
211212
echo "✅ Gemini CLI invoked via PR comment"
212213
env:

0 commit comments

Comments
 (0)