diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-03-01 02:33:44 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-03-01 02:33:44 +0300 |
commit | 903a87d4842479fb3ea5f1eef9f0a88abe775a78 (patch) | |
tree | 635e8e71e3864e52a4b61fb6578a4ee1dd608524 /.github | |
parent | 84849f4c162ce7efacf5a35247e2055ac334d41c (diff) | |
download | sciteco-903a87d4842479fb3ea5f1eef9f0a88abe775a78.tar.gz |
CI: post all new commits into the IRC channel
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 10 |
1 files changed, 10 insertions, 0 deletions
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 |