File tree Expand file tree Collapse file tree 3 files changed +4
-40
lines changed
Expand file tree Collapse file tree 3 files changed +4
-40
lines changed Original file line number Diff line number Diff line change @@ -96,26 +96,11 @@ jobs:
9696 uses : slackapi/slack-github-action@v2.1.1
9797 if : ${{ failure() }}
9898 with :
99+ method : chat.postMessage
100+ token : ${{ secrets.SLACK_BOT_TOKEN }}
99101 payload-file-path : ${{ env.DEFAULT_DIR }}/slack-fail.json
100- payload-templated : true
101- webhook : ${{ secrets.SLACK_WEBHOOK_URL_TEST_ALERTS_SANDBOX }}
102- webhook-type : incoming-webhook
102+ payload-templated : true
103103 env :
104- server_url : ${{ github.server_url }}
105- repository : ${{ github.repository }}
106- run_id : ${{ github.run_id }}
107- branch : ${{ github.ref_name }}
108-
109- - name : Notify Slack (Success)
110- uses : slackapi/slack-github-action@v2.1.1
111- if : ${{ success() }}
112- with :
113- payload-file-path : ${{ env.DEFAULT_DIR }}/slack-success.json
114- payload-templated : true
115- webhook : ${{ secrets.SLACK_WEBHOOK_URL_TEST_ALERTS_SANDBOX }}
116- webhook-type : incoming-webhook
117- env :
118- uploaded : ${{ steps.upload-file.outputs.uploaded }}
119104 server_url : ${{ github.server_url }}
120105 repository : ${{ github.repository }}
121106 run_id : ${{ github.run_id }}
Original file line number Diff line number Diff line change 11{
2+ "channel" : " ${{ secrets.SLACK_MOBILE_TOOLING_CHANNEL_ID }}" ,
23 "blocks" : [
34 {
45 "type" : " header" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments