Skip to content

Commit

Permalink
fix: multiline comment regression (#844)
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans committed Apr 19, 2023
1 parent 3cd3bb0 commit 276d796
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -54,7 +54,9 @@ jobs:
uses: ./
with:
issue-number: ${{ steps.ciff.outputs.issue-number }}
comment: '[CI] test ${{ matrix.os }}'
comment: |
[CI]
test ${{ matrix.os }}
labels: |
wontfix
ci-test
6 changes: 5 additions & 1 deletion action.yml
Expand Up @@ -31,7 +31,11 @@ runs:
shell: bash
run: |
if [ -n "${{ inputs.comment }}" ]; then
echo comment="--comment \"${{ inputs.comment }}\"" >> $GITHUB_OUTPUT
comment="--comment \"${{ inputs.comment }}\""
delimiter="$(openssl rand -hex 8)"
echo "comment<<$delimiter" >> $GITHUB_OUTPUT
echo "$comment" >> $GITHUB_OUTPUT
echo "$delimiter" >> $GITHUB_OUTPUT
fi
if [ "${{ inputs.close-reason }}" == "not_planned" ]; then
Expand Down

0 comments on commit 276d796

Please sign in to comment.