File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 98
98
99
99
- name : 🔔 Notify error to Slack (if any)
100
100
if : failure()
101
- uses : yasslab/slack_notify@main
102
- with :
101
+ uses : slackapi/slack-github-action@v1.24.0
102
+ env :
103
103
slack_webhook_url : ${{ secrets.SLACK_WEBHOOK_URL }}
104
+ with :
105
+ # Slack channel id, channel name, or user id to post message.
106
+ # See also: https://api.slack.com/methods/chat.postMessage#channels
107
+ # You can pass in multiple channels to post to by providing a comma-delimited list of channel IDs.
108
+ channel-id : ${{ secrets.SLACK_CHANNEL_ID }}
109
+ # For posting a simple plain text message
110
+ slack-message : " <@yasulab> GitHub build result: ${{ job.status }}\n ${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
You can’t perform that action at this time.
0 commit comments