Skip to content

Commit edc40a9

Browse files
committed
add slack notification action
1 parent 1600b08 commit edc40a9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ runs:
1616
using: "composite"
1717
steps:
1818
- name: Send Slack notification
19-
uses: slackapi/slack-github-action@v1.25.0
19+
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2
2020
with:
2121
method: chat.postMessage
2222
token: ${{ inputs.bot-token }}
2323
payload: |
24-
{
25-
"channel": "${{ inputs.channel-id }}",
26-
"text": "${{ inputs.message }}"
27-
}
24+
channel: ${{ inputs.channel-id }}
25+
text: ${{ inputs.message }}

0 commit comments

Comments
 (0)