diff --git a/.github/workflows/nightly-debian.yml b/.github/workflows/nightly-debian.yml index 3ce1e7191..53ff93019 100644 --- a/.github/workflows/nightly-debian.yml +++ b/.github/workflows/nightly-debian.yml @@ -83,18 +83,16 @@ jobs: working-directory: ${{ env.BUILDDIR }} run: make install VERBOSE=1 - name: "notify: ok" - uses: rectalogic/notify-irc@v1 if: ${{ success() && github.repository == 'calamares/calamares' }} + uses: ./.github/actions/notify-push with: - server: chat.freenode.net - nickname: cala-ci - channel: "#calamares" + token: ${{ secrets.MATRIX_TOKEN }} + room: ${{ secrets.MATRIX_ROOM }} message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}" - name: "notify: fail" - uses: rectalogic/notify-irc@v1 if: ${{ failure() && github.repository == 'calamares/calamares' }} + uses: ./.github/actions/notify-push with: - server: chat.freenode.net - nickname: cala-ci - channel: "#calamares" + token: ${{ secrets.MATRIX_TOKEN }} + room: ${{ secrets.MATRIX_ROOM }} message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}" diff --git a/.github/workflows/nightly-neon.yml b/.github/workflows/nightly-neon.yml index c40311044..b5c5b8ced 100644 --- a/.github/workflows/nightly-neon.yml +++ b/.github/workflows/nightly-neon.yml @@ -82,18 +82,16 @@ jobs: if-no-files-found: error retention-days: 3 - name: "notify: ok" - uses: rectalogic/notify-irc@v1 if: ${{ success() && github.repository == 'calamares/calamares' }} + uses: ./.github/actions/notify-push with: - server: chat.freenode.net - nickname: cala-ci - channel: "#calamares" + token: ${{ secrets.MATRIX_TOKEN }} + room: ${{ secrets.MATRIX_ROOM }} message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}" - name: "notify: fail" - uses: rectalogic/notify-irc@v1 if: ${{ failure() && github.repository == 'calamares/calamares' }} + uses: ./.github/actions/notify-push with: - server: chat.freenode.net - nickname: cala-ci - channel: "#calamares" + token: ${{ secrets.MATRIX_TOKEN }} + room: ${{ secrets.MATRIX_ROOM }} message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}" diff --git a/.github/workflows/nightly-opensuse.yml b/.github/workflows/nightly-opensuse.yml index 579e30807..59e45500b 100644 --- a/.github/workflows/nightly-opensuse.yml +++ b/.github/workflows/nightly-opensuse.yml @@ -81,18 +81,16 @@ jobs: working-directory: ${{ env.BUILDDIR }} run: make install VERBOSE=1 - name: "notify: ok" - uses: rectalogic/notify-irc@v1 if: ${{ success() && github.repository == 'calamares/calamares' }} + uses: ./.github/actions/notify-push with: - server: chat.freenode.net - nickname: cala-ci - channel: "#calamares" + token: ${{ secrets.MATRIX_TOKEN }} + room: ${{ secrets.MATRIX_ROOM }} message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}" - name: "notify: fail" - uses: rectalogic/notify-irc@v1 if: ${{ failure() && github.repository == 'calamares/calamares' }} + uses: ./.github/actions/notify-push with: - server: chat.freenode.net - nickname: cala-ci - channel: "#calamares" + token: ${{ secrets.MATRIX_TOKEN }} + room: ${{ secrets.MATRIX_ROOM }} message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"