calamares/.github/workflows/pullrequest.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
842 B
YAML
Raw Normal View History

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