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 @@ -70,15 +70,14 @@ jobs:
7070 retention-days : 15
7171
7272 - name : Send Slack alert notification
73- id : slack
7473 if : ${{ failure() }}
757476- env :
77- SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
78- SUMMARY_URL : https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
7975 with :
80- channel-id : ${{ secrets.SLACK_CHANNEL_ID }}
81- slack-message : |
82- :x: On repository ${{ github.repository }} the Workflow *${{ github.workflow }}* has failed.
83-
84- Details: ${{ env.SUMMARY_URL }}
76+ method : chat.postMessage
77+ token : ${{ secrets.SLACK_BOT_TOKEN }}
78+ payload : |
79+ channel: ${{ secrets.SLACK_CHANNEL_ID }}
80+ text: |
81+ :x: On repository ${{ github.repository }}, the Workflow *${{ github.workflow }}* has failed.
82+
83+ Details : https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
You can’t perform that action at this time.
0 commit comments