Skip to content

Commit 819d6d8

Browse files
committed
add slack notification action
1 parent edc40a9 commit 819d6d8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/actions/slack-notification/action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@ runs:
2121
method: chat.postMessage
2222
token: ${{ inputs.bot-token }}
2323
payload: |
24-
channel: ${{ inputs.channel-id }}
25-
text: ${{ inputs.message }}
24+
{
25+
"channel": "${{ inputs.channel-id }}",
26+
"text": "${{ inputs.message }}"
27+
}

0 commit comments

Comments
 (0)