feat(ci): Notify on build failure
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed

This commit is contained in:
PapaTutuWawa 2023-08-19 22:47:29 +02:00
parent dbb945b424
commit e58082bf38
2 changed files with 16 additions and 1 deletions

View File

@ -7,7 +7,7 @@ line-length=72
[title-trailing-punctuation] [title-trailing-punctuation]
[title-hard-tab] [title-hard-tab]
[title-match-regex] [title-match-regex]
regex=^((feat|fix|chore|refactor|docs|release|test)\((meta|tests|style|docs|xep|core|example|all|flake)+(,(meta|tests|style|docs|xep|core|example|all|flake))*\)|release): [A-Z0-9].*$ regex=^((feat|fix|chore|refactor|docs|release|test)\((meta|tests|style|docs|xep|core|example|all|flake|ci)+(,(meta|tests|style|docs|xep|core|example|all|flake|ci))*\)|release): [A-Z0-9].*$
[body-trailing-whitespace] [body-trailing-whitespace]

View File

@ -1,3 +1,6 @@
when:
branch: master
pipeline: pipeline:
# Check moxxmpp # Check moxxmpp
moxxmpp-lint: moxxmpp-lint:
@ -26,3 +29,15 @@ pipeline:
# - cd packages/moxxmpp # - cd packages/moxxmpp
# - dart pub get # - dart pub get
# - dart test # - dart test
notify:
image: git.polynom.me/papatutuwawa/woodpecker-xmpp
settings:
xmpp_tls: 1
xmpp_is_muc: 1
xmpp_recipient: moxxy-build@muc.moxxy.org
xmpp_alias: 2Bot
secrets: [ xmpp_jid, xmpp_password, xmpp_server ]
when:
status:
- failure
event: [push, tag]