Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dbca57c

Browse files
authoredDec 12, 2024
Fix an error on notify_slack.yml
1 parent 510bd30 commit dbca57c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed
 

‎.github/workflows/notify_slack.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ jobs:
1010
if: github.event.discussion && github.event.comment
1111
steps:
1212
- uses: slackapi/slack-github-action@v2.0.0
13-
method: chat.postMessage
14-
payload: |
15-
channel: "${{ secrets.SLACK_CHANNEL_ID }}"
16-
text: "Created discussion comment: ${{ github.event.comment.html_url }}"
13+
with:
14+
method: chat.postMessage
15+
payload: |
16+
channel: "${{ secrets.SLACK_CHANNEL_ID }}"
17+
text: "Created discussion comment: ${{ github.event.comment.html_url }}"
1718
env:
1819
SLACK_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 commit comments

Comments
 (0)
Please sign in to comment.