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.
2 parents 35b6930 + 5613b97 commit 510bd30Copy full SHA for 510bd30
.github/workflows/notify_slack.yml
@@ -9,9 +9,10 @@ jobs:
9
timeout-minutes: 5
10
if: github.event.discussion && github.event.comment
11
steps:
12
- - uses: slackapi/[email protected]
13
- with:
14
- channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
15
- slack-message: "Created discussion comment: ${{ github.event.comment.html_url }}"
+ - uses: slackapi/[email protected]
+ method: chat.postMessage
+ payload: |
+ channel: "${{ secrets.SLACK_CHANNEL_ID }}"
16
+ text: "Created discussion comment: ${{ github.event.comment.html_url }}"
17
env:
- SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
18
+ SLACK_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
0 commit comments