We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f49078 commit 019907aCopy full SHA for 019907a
.github/workflows/issue_comment.yml
@@ -16,7 +16,7 @@ jobs:
16
BODY: ${{ toJson(github.event.comment.body) }}
17
COMMENT_URL: ${{github.event.comment.html_url}}
18
shell: bash
19
- run: echo $BODY | xargs -I {} curl -s POST "$WEBHOOK_URL" -H "Content-Type:application/json" --data '{"body":"{}", "issue":"'$COMMENT_URL'"}'
+ run: echo $BODY | sed "s/\\\n/. /g; s/\\\r//g; s/[^a-zA-Z0-9 &().,:]//g" | xargs -I {} curl -s POST "$WEBHOOK_URL" -H "Content-Type:application/json" --data '{"body":"{}", "issue":"'$COMMENT_URL'"}'
20
21
remove-pending-response-label:
22
runs-on: ubuntu-latest
0 commit comments