From e15db9a68ca52cd6b06cb4205836993386c25e04 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 25 May 2021 16:25:30 +0200 Subject: [PATCH] CI: move issues notification to Matrix --- .github/workflows/issues.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index e8d2821ae..a321d40ba 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -9,18 +9,16 @@ jobs: runs-on: ubuntu-latest steps: - name: "notify: new" - uses: rectalogic/notify-irc@v1 if: github.event.issue.state == 'open' + uses: ./.github/actions/notify-push with: - server: chat.freenode.net - nickname: cala-issues - channel: "#calamares" + token: ${{ secrets.MATRIX_TOKEN }} + room: ${{ secrets.MATRIX_ROOM }} message: "OPENED ${{ github.event.issue.html_url }} by ${{ github.actor }} ${{ github.event.issue.title }}" - name: "notify: closed" - uses: rectalogic/notify-irc@v1 if: github.event.issue.state != 'open' + uses: ./.github/actions/notify-push with: - server: chat.freenode.net - nickname: cala-issues - channel: "#calamares" + token: ${{ secrets.MATRIX_TOKEN }} + room: ${{ secrets.MATRIX_ROOM }} message: "CLOSED ${{ github.event.issue.html_url }} by ${{ github.actor }} ${{ github.event.issue.title }}"