Commit graph

14 commits

Author SHA1 Message Date
Bruno BELANYI 8f4062256e matrix-notifier: refactor handling of message type 2021-06-12 19:13:56 +02:00
Bruno BELANYI 50948b9ffe matrix-notifier: add 'auto' message type
This is useful to only ping me when the build is failing.
2021-06-12 19:04:17 +02:00
Bruno BELANYI efd6d5ddbb matrix-notifier: use 'notice' default message type
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-12 18:57:29 +02:00
Bruno BELANYI 08dac65a55 matrix-notifier: allow specifying message type 2021-06-12 18:56:58 +02:00
Bruno BELANYI 811e04813a matrix-notifier: add usage
And split into functions to make it more manageable.
2021-06-12 18:56:36 +02:00
Bruno BELANYI 2e98292b98 ci: add Drone CI
All checks were successful
continuous-integration/drone/push Build is passing
This is my first experiment to make sure I can actually use this in my
CI.
2021-06-12 18:40:12 +02:00
Bruno BELANYI ca3b5a053c matrix-notifier: add default Drone message 2021-06-12 18:22:20 +02:00
Bruno BELANYI 8ae3594c68 doc: add README 2021-06-12 01:25:04 +02:00
Bruno BELANYI ad670a8849 nix: add app and package to flake
Also their `default*` counterpart.
2021-06-12 01:12:31 +02:00
Bruno BELANYI f15f94dd9c matrix-notifier: add initial script
This has been tested to work on my homeserver.
2021-06-12 01:11:43 +02:00
Bruno BELANYI adc0cf4e81 nix: add shellcheck to devShell 2021-06-12 00:40:45 +02:00
Bruno BELANYI 1ba2688eb9 nix: evaluate shell hooks
This activates the pre-commit-hook configuration.
2021-06-12 00:39:58 +02:00
Bruno BELANYI 9f255e86e0 git: ignore generated pre-commit configuration 2021-06-12 00:39:42 +02:00
Bruno BELANYI 816b819602 nix: add flake 2021-06-12 00:39:22 +02:00