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 209cf5c commit 9c0427bCopy full SHA for 9c0427b
.github/workflows/new_issue.yml
@@ -21,5 +21,6 @@ jobs:
21
- name: Run webhook curl command
22
env:
23
WEBHOOK_URL: ${{ secrets.SLACK_ISSUE_WEBHOOK_URL }}
24
+ ISSUE: ${{toJson(github.event.issue.title)}}
25
shell: bash
- run: echo "${{github.event.issue.title}}" | sed -e "s/[\`\'\"]/ /g" | xargs -I {} curl -s POST "$WEBHOOK_URL" -H "Content-Type:application/json" --data '{"issue":"{}", "issueUrl":"${{github.event.issue.html_url}}", "user":"${{github.event.issue.user.login}}"}'
26
+ run: echo $ISSUE | xargs -I {} curl -s POST "$WEBHOOK_URL" -H "Content-Type:application/json" --data '{"issue":"{}", "issueUrl":"${{github.event.issue.html_url}}", "user":"${{github.event.issue.user.login}}"}'
0 commit comments