Skip to content

Commit 50883c7

Browse files
Copilotcommjoen
andcommitted
Fix GITHUB_OUTPUT variable expansion to prevent empty comment body
Co-authored-by: commjoen <[email protected]>
1 parent ca6b0ba commit 50883c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/preview.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ jobs:
200200
EOF
201201
# yamllint enable rule:line-length
202202
203-
echo "content<<EOF" >> \$GITHUB_OUTPUT
204-
cat instructions.md >> \$GITHUB_OUTPUT
205-
echo "EOF" >> \$GITHUB_OUTPUT
203+
echo "content<<EOF" >> $GITHUB_OUTPUT
204+
cat instructions.md >> $GITHUB_OUTPUT
205+
echo "EOF" >> $GITHUB_OUTPUT
206206
207207
- name: Comment on PR
208208
uses: actions/github-script@v7

0 commit comments

Comments
 (0)