Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
95b7758c42 | ||
|
|
e88bce176e |
@@ -26,6 +26,8 @@ jobs:
|
|||||||
/root/bin/just vet test
|
/root/bin/just vet test
|
||||||
/root/bin/just build-linux-amd64
|
/root/bin/just build-linux-amd64
|
||||||
./bin/gitbump_linux_amd64 --version
|
./bin/gitbump_linux_amd64 --version
|
||||||
|
- name: Lint
|
||||||
|
uses: https://lab.zlymeda.dynu.net/actions/go-lint@master
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: [ubuntu-latest, amd64]
|
runs-on: [ubuntu-latest, amd64]
|
||||||
@@ -47,17 +49,13 @@ jobs:
|
|||||||
- name: Bump & Tag
|
- name: Bump & Tag
|
||||||
run: go run main.go
|
run: go run main.go
|
||||||
|
|
||||||
notify-failure:
|
notify:
|
||||||
runs-on: [ubuntu-latest, amd64]
|
runs-on: [ubuntu-latest, amd64]
|
||||||
needs: [test, build]
|
needs: [test, build]
|
||||||
if: always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped'))
|
if: always()
|
||||||
steps:
|
steps:
|
||||||
- name: ntfy-failed-notifications
|
- name: Notify
|
||||||
uses: niniyas/ntfy-action@master
|
uses: https://lab.zlymeda.dynu.net/actions/ci-notify@master
|
||||||
with:
|
with:
|
||||||
url: ${{ secrets.NTFY_URL }}
|
needs: ${{ toJSON(needs) }}
|
||||||
topic: ${{ secrets.NTFY_TOPIC }}
|
ntfy_token: ${{ secrets.NTFY_TOKEN }}
|
||||||
priority: 5
|
|
||||||
tags: flying_saucer,warning,🚨,🛠️,action,failed
|
|
||||||
details: Workflow has failed!
|
|
||||||
actions: 'default'
|
|
||||||
Reference in new issue
Block a user