From f5891e1c8cdfc8d27a6e11cb64314345a3c5a052 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sat, 2 Jul 2022 22:33:22 +0200 Subject: [PATCH] CI: try to get useful notification from pull request change --- .github/workflows/pullrequest.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 5394a268a..dbf9cd6da 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -8,6 +8,14 @@ jobs: notify: runs-on: ubuntu-latest steps: + - name: "notify: any" + uses: calamares/actions/matrix-notify@v4 + with: + token: ${{ secrets.MATRIX_TOKEN }} + room: ${{ secrets.MATRIX_ROOM }} + message: | + PR something ${{ github.event.pull_request.html_url }} by ${{ github.actor }} ${{ github.event.pull_request.action }} + .. ${{ github.event.pull_request.title }} - name: "notify: new" if: github.event.pull_request.action == 'opened' uses: calamares/actions/matrix-notify@v4