Skip to content

Commit 510bd30

Browse files
authored
Merge pull request #928 from increments/dependabot/github_actions/slackapi/slack-github-action-2.0.0
Bump slackapi/slack-github-action from 1.26.0 to 2.0.0
2 parents 35b6930 + 5613b97 commit 510bd30

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/notify_slack.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ jobs:
99
timeout-minutes: 5
1010
if: github.event.discussion && github.event.comment
1111
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 }}"
12+
- uses: slackapi/[email protected]
13+
method: chat.postMessage
14+
payload: |
15+
channel: "${{ secrets.SLACK_CHANNEL_ID }}"
16+
text: "Created discussion comment: ${{ github.event.comment.html_url }}"
1617
env:
17-
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
18+
SLACK_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 commit comments

Comments
 (0)