Skip to content

Commit 0bfada8

Browse files
paul-fractureclaude
andcommitted
Fix multi-line handling for all workflow outputs
- Updated all GitHub Actions output syntax in claude-full.yml for consistent multi-line handling - Ensured all steps use the same heredoc-style EOF delimiter approach - Applied consistent pattern for all PR and issue comment handling sections - Fixed PR review sections that were previously missed This addresses the workflow validation errors and ensures consistent handling of multi-line feedback throughout the action. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent cecad61 commit 0bfada8

File tree

1 file changed

+32
-8
lines changed

1 file changed

+32
-8
lines changed

.github/workflows/claude-full.yml

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,14 @@ jobs:
5151
FEEDBACK="${{ github.event.comment.body }}"
5252
# Remove the "claude:" prefix
5353
FEEDBACK="${FEEDBACK#claude:}"
54-
echo "number=$ISSUE_NUMBER" >> $GITHUB_OUTPUT
55-
echo "feedback=$FEEDBACK" >> $GITHUB_OUTPUT
54+
# Use proper multi-line string handling for GitHub Actions outputs
55+
echo "number<<EOF" >> $GITHUB_OUTPUT
56+
echo "$ISSUE_NUMBER" >> $GITHUB_OUTPUT
57+
echo "EOF" >> $GITHUB_OUTPUT
58+
59+
echo "feedback<<EOF" >> $GITHUB_OUTPUT
60+
echo "$FEEDBACK" >> $GITHUB_OUTPUT
61+
echo "EOF" >> $GITHUB_OUTPUT
5662
5763
- name: Process with Claude Code for issue analysis
5864
uses: fractureinc/[email protected]
@@ -104,8 +110,14 @@ jobs:
104110
FEEDBACK="${{ github.event.comment.body }}"
105111
# Remove the "claude-fix:" prefix
106112
FEEDBACK="${FEEDBACK#claude-fix:}"
107-
echo "number=$ISSUE_NUMBER" >> $GITHUB_OUTPUT
108-
echo "feedback=$FEEDBACK" >> $GITHUB_OUTPUT
113+
# Use proper multi-line string handling for GitHub Actions outputs
114+
echo "number<<EOF" >> $GITHUB_OUTPUT
115+
echo "$ISSUE_NUMBER" >> $GITHUB_OUTPUT
116+
echo "EOF" >> $GITHUB_OUTPUT
117+
118+
echo "feedback<<EOF" >> $GITHUB_OUTPUT
119+
echo "$FEEDBACK" >> $GITHUB_OUTPUT
120+
echo "EOF" >> $GITHUB_OUTPUT
109121
110122
- name: Process with Claude Code for issue fix
111123
uses: fractureinc/[email protected]
@@ -149,8 +161,14 @@ jobs:
149161
FEEDBACK="${{ github.event.comment.body }}"
150162
# Remove the "claude:" prefix
151163
FEEDBACK="${FEEDBACK#claude:}"
152-
echo "number=$PR_NUMBER" >> $GITHUB_OUTPUT
153-
echo "feedback=$FEEDBACK" >> $GITHUB_OUTPUT
164+
# Use proper multi-line string handling for GitHub Actions outputs
165+
echo "number<<EOF" >> $GITHUB_OUTPUT
166+
echo "$PR_NUMBER" >> $GITHUB_OUTPUT
167+
echo "EOF" >> $GITHUB_OUTPUT
168+
169+
echo "feedback<<EOF" >> $GITHUB_OUTPUT
170+
echo "$FEEDBACK" >> $GITHUB_OUTPUT
171+
echo "EOF" >> $GITHUB_OUTPUT
154172
155173
- name: Process with Claude Code
156174
uses: fractureinc/[email protected]
@@ -182,8 +200,14 @@ jobs:
182200
FEEDBACK="${{ github.event.comment.body }}"
183201
# Remove the "claude-suggest:" prefix
184202
FEEDBACK="${FEEDBACK#claude-suggest:}"
185-
echo "number=$PR_NUMBER" >> $GITHUB_OUTPUT
186-
echo "feedback=$FEEDBACK" >> $GITHUB_OUTPUT
203+
# Use proper multi-line string handling for GitHub Actions outputs
204+
echo "number<<EOF" >> $GITHUB_OUTPUT
205+
echo "$PR_NUMBER" >> $GITHUB_OUTPUT
206+
echo "EOF" >> $GITHUB_OUTPUT
207+
208+
echo "feedback<<EOF" >> $GITHUB_OUTPUT
209+
echo "$FEEDBACK" >> $GITHUB_OUTPUT
210+
echo "EOF" >> $GITHUB_OUTPUT
187211
188212
- name: Process with Claude Code Suggestions
189213
uses: fractureinc/[email protected]

0 commit comments

Comments
 (0)