Skip to content

Commit 7877de2

Browse files
committed
[skip ci] Fix nightly notification workflow url
jobs_url is a link to the api, rather than the website. Also tweak wording, as we now only send one notification per workflow, rather than per failed job.
1 parent 99076eb commit 7877de2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nightly-results.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
- run: |
1414
export DEBIAN_FRONTEND=noninteractive
1515
sudo apt-get install -y curl
16-
curl -X POST -H 'Content-type: application/json' --data '{"attachments": [{"text": "Job in *nightly* failed", "footer": "<${{ github.event.workflow_run.jobs_url }}|View Run>", "color": "danger", "mrkdwn_in": ["text"]}]}' ${{ secrets.ACTION_MONITORING_SLACK }}
16+
curl -X POST -H 'Content-type: application/json' --data '{"attachments": [{"text": "Job(s) in *nightly* failed", "footer": "<${{ github.event.workflow_run.html_url }}|View Run>", "color": "danger", "mrkdwn_in": ["text"]}]}' ${{ secrets.ACTION_MONITORING_SLACK }}

0 commit comments

Comments
 (0)