We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 11f57e2 + 8aca3b5 commit c038e2eCopy full SHA for c038e2e
1 file changed
.github/actions/slack-notification/action.yml
@@ -16,9 +16,10 @@ runs:
16
using: "composite"
17
steps:
18
- name: Send Slack notification
19
- uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2
+ 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: |
+ channel: "${{ inputs.channel-id }}"
25
+ text: "${{ inputs.message }}"
0 commit comments