CI: try to get useful notification from pull request change

This commit is contained in:
Adriaan de Groot 2022-07-02 22:33:22 +02:00
parent c03850a302
commit f5891e1c8c

View File

@ -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