Report the run through ci-notify, so a pass on master is announced as well as a failure
Gitbump CI / test (push) Successful in 1m5s
Gitbump CI / build (push) Successful in 43s
Gitbump CI / notify (push) Successful in 6s

This commit is contained in:
meda committed 2026-10-28 10:09:28 +01:00
1 parent 54a7b1e6d8
commit e88bce176e
1 file changed
+6 -10
+6 -10
View File
@@ -47,17 +47,13 @@ jobs:
- name: Bump & Tag
run: go run main.go
notify-failure:
notify:
runs-on: [ubuntu-latest, amd64]
needs: [test, build]
if: always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped'))
if: always()
steps:
- name: ntfy-failed-notifications
uses: niniyas/ntfy-action@master
- name: Notify
uses: https://lab.zlymeda.dynu.net/actions/ci-notify@master
with:
url: ${{ secrets.NTFY_URL }}
topic: ${{ secrets.NTFY_TOPIC }}
priority: 5
tags: flying_saucer,warning,🚨,🛠️,action,failed
details: Workflow has failed!
actions: 'default'
needs: ${{ toJSON(needs) }}
ntfy_token: ${{ secrets.NTFY_TOKEN }}