Skip to content

Commit

Permalink
Update periodic CI notification configuration
Browse files Browse the repository at this point in the history
Include proposed template updates to the periodic CI notification
configuration: use a better if trigger, and update the notification
titles to be a bit more accurate.
  • Loading branch information
rra committed Jul 8, 2024
1 parent 4e7de9d commit a415cae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/periodic-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
use-cache: false

- name: Report status
if: always()
if: failure()
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ job.status }}
Expand Down Expand Up @@ -67,12 +67,12 @@ jobs:
use-cache: false

- name: Report status
if: always()
if: failure()
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ job.status }}
notify_when: "failure"
notification_title: "Periodic documentation build for {repo} failed"
notification_title: "Periodic documentation test for {repo} failed"
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ALERT_WEBHOOK }}

Expand All @@ -93,11 +93,11 @@ jobs:
upload: false

- name: Report status
if: always()
if: failure()
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ job.status }}
notify_when: "failure"
notification_title: "Periodic PyPI test for {repo} failed"
notification_title: "Periodic packaging test for {repo} failed"
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ALERT_WEBHOOK }}

0 comments on commit a415cae

Please sign in to comment.