From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Wed, 6 Nov 2024 13:14:41 +0000 (+0100) Subject: CI: add IRC notification for discussion created X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=02e85b8298f286263794ff013d4209b2c7bb2a5f;p=proto%2Flabwc.git CI: add IRC notification for discussion created --- diff --git a/.github/workflows/irc.yml b/.github/workflows/irc.yml index 31ff9ed3..22643b9c 100644 --- a/.github/workflows/irc.yml +++ b/.github/workflows/irc.yml @@ -5,6 +5,8 @@ on: types: [opened, closed, reopened] issues: types: [opened, closed, reopened] + discussion: + types: [created] push: branches: - 'master_disabled' @@ -50,6 +52,15 @@ jobs: nickname: "labwc" notice: true message: "${{ github.actor }} closed issue '${{ github.event.issue.title }}' (${{ github.event.issue.html_url }})" + - name: discussion started + uses: rectalogic/notify-irc@v1 + if: github.event_name == 'discussion' && github.event.action == 'created' + with: + server: "irc.libera.chat" + channel: "#labwc" + nickname: "labwc" + notice: true + message: "${{ github.actor }} opened discussion '${{ github.event.discussion.title }}' (${{ github.event.discussion.html_url }})" - name: irc pull request opened uses: rectalogic/notify-irc@v1 if: github.event_name == 'pull_request' && github.event.action == 'opened'