File tree 1 file changed +8
-9
lines changed
1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -85,15 +85,14 @@ jobs:
85
85
make -f tests/e2e/Makefile test
86
86
87
87
- name : Send Slack alert notification
88
- id : slack
89
88
if : ${{ failure() }}
90
89
91
- env :
92
- SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
93
- SUMMARY_URL : https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
94
90
with :
95
- channel-id : ${{ secrets.SLACK_CHANNEL_ID }}
96
- slack-message : |
97
- :x: On repository ${{ github.repository }} the Workflow *${{ github.workflow }}* has failed.
98
-
99
- Details: ${{ env.SUMMARY_URL }}
91
+ method : chat.postMessage
92
+ token : ${{ secrets.SLACK_BOT_TOKEN }}
93
+ payload : |
94
+ channel: ${{ secrets.SLACK_CHANNEL_ID }}
95
+ text: |
96
+ :x: On repository ${{ github.repository }}, the Workflow *${{ github.workflow }}* has failed.
97
+
98
+ Details : https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
You can’t perform that action at this time.
0 commit comments