ci: Add IRC notification for main channel

Releases are probably important enough
This commit is contained in:
Florian Bruhin 2023-08-16 23:28:54 +02:00
parent 67ae39561a
commit bcbfc2b68c
1 changed files with 8 additions and 0 deletions

View File

@ -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' }}"