aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-03-17 13:40:56 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-03-17 13:41:55 +0200
commit139f67b9b368c5f080f8af8fb93f7c61ef443687 (patch)
tree7ad62bfbe796274822c80c416ac02efe10e021bc /.github/workflows/emails.yml
parentprofiles/updates: dev-python/{python-betterproto → betterproto} (diff)
downloadguru-139f67b9b368c5f080f8af8fb93f7c61ef443687.tar.gz
guru-139f67b9b368c5f080f8af8fb93f7c61ef443687.tar.bz2
guru-139f67b9b368c5f080f8af8fb93f7c61ef443687.zip
ci: notify on IRC for failing ci
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to '.github/workflows/emails.yml')
-rw-r--r--.github/workflows/emails.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/emails.yml b/.github/workflows/emails.yml
index 12f70387f..2987863c6 100644
--- a/.github/workflows/emails.yml
+++ b/.github/workflows/emails.yml
@@ -43,3 +43,12 @@ jobs:
- name: Check Emails against bugzilla
run: |
python ./scripts/email-checker.py ${{ steps.changed-files.outputs.all_changed_files }}
+
+ - name: Inform on IRC
+ if: ${{ failure() && github.repository == 'gentoo/guru' }}
+ uses: rectalogic/notify-irc@v1
+ with:
+ channel: "#gentoo-guru"
+ server: "irc.libera.chat"
+ nickname: "github-ci"
+ message: CI failure detected on job ${{ github.workflow }} - ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}