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 f6d7b25 commit 5613b97Copy full SHA for 5613b97
.github/workflows/notify_slack.yml
@@ -10,8 +10,9 @@ jobs:
10
if: github.event.discussion && github.event.comment
11
steps:
12
- uses: slackapi/slack-github-action@v2.0.0
13
- with:
14
- channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
15
- slack-message: "Created discussion comment: ${{ github.event.comment.html_url }}"
+ 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