We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca39c53 commit 19762a2Copy full SHA for 19762a2
.github/actions/slack-notification/action.yml
@@ -18,7 +18,10 @@ runs:
18
- name: Send Slack notification
19
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2
20
with:
21
- channel-id: ${{ inputs.channel-id }}
22
- slack-message: ${{ inputs.message }}
23
- env:
24
- SLACK_BOT_TOKEN: ${{ inputs.bot-token }}
+ method: chat.postMessage
+ token: ${{ inputs.bot-token }}
+ payload: |
+ {
25
+ "channel": "${{ inputs.channel-id }}",
26
+ "text": "${{ inputs.message }}"
27
+ }
0 commit comments