Skip to content

Commit

Permalink
feat(ci): Notify on build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
PapaTutuWawa committed Aug 19, 2023
1 parent dbb945b commit e58082b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlint
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ line-length=72
[title-trailing-punctuation]
[title-hard-tab]
[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]
Expand Down
15 changes: 15 additions & 0 deletions .woodpecker.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
when:
branch: master

pipeline:
# Check moxxmpp
moxxmpp-lint:
Expand Down Expand Up @@ -26,3 +29,15 @@ pipeline:
# - cd packages/moxxmpp
# - dart pub get
# - 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]

0 comments on commit e58082b

Please sign in to comment.