Skip to content

Commit

Permalink
Merge pull request #13328 from ContinuumIO/dot-org-filter
Browse files Browse the repository at this point in the history
Echo response from slack API
  • Loading branch information
rasquith authored Jan 9, 2024
2 parents c06442b + 17a1541 commit 3503d72
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/dot-org-filter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@ jobs:
SLACK_TITLE: "Issue with 'type-bug' label Detected"
SLACK_MESSAGE: "Title: ${{ github.event.issue.title }} - URL: ${{ github.event.issue.html_url }}"
run: |
curl -X POST -H 'Content-type: application/json' -H "Authorization: Bearer $SLACK_BOT_TOKEN" --data '{
response=$(curl -X POST -H 'Content-type: application/json' -H "Authorization: Bearer $SLACK_BOT_TOKEN" --data '{
"channel":"'"$SLACK_CHANNEL_ID"'",
"text":"'"$SLACK_TITLE"'",
"attachments": [
{
"text": "'"$SLACK_MESSAGE"'"
}
]
}' https://slack.com/api/chat.postMessage
}' https://slack.com/api/chat.postMessage)
echo $response

0 comments on commit 3503d72

Please sign in to comment.