Skip to content

Commit dbca57c

Browse files
authored
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

+5-4
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/[email protected]
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)