From 3d8a505864f4218637dac0f3794afc6f84d96dd2 Mon Sep 17 00:00:00 2001 From: Takuma Osada Date: Fri, 28 Apr 2023 10:19:53 +0900 Subject: [PATCH] fix: github discussions create bug --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 536f4ab..e21fcca 100644 --- a/action.yml +++ b/action.yml @@ -76,8 +76,8 @@ runs: ], "unfurl_links": ${{ inputs.unfurl-links }}, "unfurl_media": ${{ inputs.unfurl-media }} - }' - |curl -X POST -H 'Authorization: Bearer ${{ inputs.SLACK_BOT_TOKEN }}' -H "Content-Type: application/json" -d @- https://slack.com/api/chat.postMessage + } + '|curl -X POST -H 'Authorization: Bearer ${{ inputs.SLACK_BOT_TOKEN }}' -H "Content-Type: application/json" -d @- https://slack.com/api/chat.postMessage shell: bash env: DISCUSSION_URL: ${{ github.event.discussion.html_url }}