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
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')
-rw-r--r--.github/workflows/duplicates.yml9
-rw-r--r--.github/workflows/emails.yml9
-rw-r--r--.github/workflows/pkgcheck.yml9
3 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/duplicates.yml b/.github/workflows/duplicates.yml
index 3c12675ac..8f6c0a47e 100644
--- a/.github/workflows/duplicates.yml
+++ b/.github/workflows/duplicates.yml
@@ -19,3 +19,12 @@ jobs:
- name: Check for duplicates
run: |
./scripts/check-duplicates.sh
+
+ - 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 }}
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 }}
diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
index be7ad363d..9289d258c 100644
--- a/.github/workflows/pkgcheck.yml
+++ b/.github/workflows/pkgcheck.yml
@@ -17,3 +17,12 @@ jobs:
uses: pkgcore/pkgcheck-action@v1
with:
args: --keywords=-RedundantVersion,-NonsolvableDepsInDev
+
+ - 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 }}