File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -85,15 +85,14 @@ jobs:
8585 make -f tests/e2e/Makefile test
8686
8787 - name : Send Slack alert notification
88- id : slack
8988 if : ${{ failure() }}
908991- env :
92- SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
93- SUMMARY_URL : https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
9490 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