From bcbfc2b68cec5512dc7934452f4c260535f58f1f Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 16 Aug 2023 23:28:54 +0200 Subject: ci: Add IRC notification for main channel Releases are probably important enough --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 54f79f945..adabed2fb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -192,6 +192,14 @@ jobs: channel: '#qutebrowser-bots' nickname: qutebrowser-bot message: "[${{ github.workflow }}] \u00033Success:\u0003 ${{ github.ref }} https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} (@${{ github.actor }})" + - name: Send main channel IRC notification + uses: Gottox/irc-message-action@v2 + if: "${{ needs.finalize.result == 'success' && github.repository == 'qutebrowser/qutebrowser' }}" + with: + server: irc.libera.chat + channel: '#qutebrowser' + nickname: qutebrowser-bot + message: "qutebrowser v${{ needs.prepare.outputs.version }} has been released! https://github.com/${{ github.repository }}/releases/tag/v${{ needs.prepare.outputs.version }}" - name: Send non-success IRC notification uses: Gottox/irc-message-action@v2 if: "${{ needs.finalize.result != 'success' }}" -- cgit v1.2.3-54-g00ecf