File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -84,18 +84,18 @@ jobs:
8484 exit 1
8585 fi
8686
87- # - name: Send a Slack notification
88- # if: failure() || github.event_name != 'pull_request'
89- # uses: ravsamhq/notify-slack-action@v2
90- # with:
91- # status: ${{ job.status }}
92- # token: ${{ secrets.GITHUB_TOKEN }}
93- # notification_title: "{workflow} has {status_message}"
94- # message_format: "{emoji} *{workflow}* {status_message} in <{repo_url}|{repo}>"
95- # footer: "Linked Repo <{repo_url}|{repo}> | <{run_url}|View Workflow run>"
96- # notify_when: "failure"
97- # env:
98- # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
87+ - name : Send a Slack notification
88+ if : failure() || github.event_name != 'pull_request'
89+ uses : ravsamhq/notify-slack-action@v2
90+ with :
91+ status : ${{ job.status }}
92+ token : ${{ secrets.GITHUB_TOKEN }}
93+ notification_title : " {workflow} has {status_message}"
94+ message_format : " {emoji} *{workflow}* {status_message} in <{repo_url}|{repo}>"
95+ footer : " Linked Repo <{repo_url}|{repo}> | <{run_url}|View Workflow run>"
96+ notify_when : " failure"
97+ env :
98+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
9999
100100 - name : Generate a Diagnostic Report
101101 if : failure()
You can’t perform that action at this time.
0 commit comments