From 903a87d4842479fb3ea5f1eef9f0a88abe775a78 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 1 Mar 2025 02:33:44 +0300 Subject: CI: post all new commits into the IRC channel --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d42585a..29cbb70 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,16 @@ jobs: - name: Build Source Tarball run: make dist + # Once all tests are successful, post into the IRC channel. + - name: Post into IRC channel + if: ${{ github.event_type == 'push' && matrix.os == 'ubuntu-22.04' }} + run: | + (echo "NICK git-bot" + echo "USER git-bot 8 * : git-bot" + echo "JOIN #sciteco" + git log --pretty="format:PRIVMSG #sciteco %h %s" --reverse ${{ github.event.before }}..${{ github.event.after }} + echo "QUIT") | ncat --ssl irc.libera.chat 6697 + macos: runs-on: macos-latest -- cgit v1.2.3