CI: remove pullrequest workflow, the GH widget does that

This commit is contained in:
Adriaan de Groot 2023-09-28 21:52:11 +02:00
parent 889d78deed
commit 3637914aea

View File

@ -1,27 +0,0 @@
name: pullrequest
on:
pull_request:
types: [opened, closed]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: "notify: new"
if: github.event.action == 'opened'
uses: calamares/actions/matrix-notify@v4
with:
token: ${{ secrets.MATRIX_TOKEN }}
room: ${{ secrets.MATRIX_ROOM }}
message: |
PR OPENED ${{ github.event.pull_request.html_url }} by ${{ github.actor }}
.. ${{ github.event.pull_request.title }}"
- name: "notify: closed"
if: github.event.action == 'closed'
uses: calamares/actions/matrix-notify@v4
with:
token: ${{ secrets.MATRIX_TOKEN }}
room: ${{ secrets.MATRIX_ROOM }}
message: |
PR CLOSED ${{ github.event.pull_request.html_url }} by ${{ github.actor }}