diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53c45fd..a3216e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/action.yml b/action.yml index b95a4d4..d097152 100644 --- a/action.yml +++ b/action.yml @@ -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