mirror of https://github.com/cutefishos/calamares
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
809 B
YAML
25 lines
809 B
YAML
name: issues
|
|
|
|
on:
|
|
issues:
|
|
types: [opened, reopened, closed]
|
|
|
|
jobs:
|
|
irc:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "notify: new"
|
|
if: github.event.issue.state == 'open'
|
|
uses: calamares/actions/matrix-notify@v1
|
|
with:
|
|
token: ${{ secrets.MATRIX_TOKEN }}
|
|
room: ${{ secrets.MATRIX_ROOM }}
|
|
message: "OPENED ${{ github.event.issue.html_url }} by ${{ github.actor }} ${{ github.event.issue.title }}"
|
|
- name: "notify: closed"
|
|
if: github.event.issue.state != 'open'
|
|
uses: calamares/actions/matrix-notify@v1
|
|
with:
|
|
token: ${{ secrets.MATRIX_TOKEN }}
|
|
room: ${{ secrets.MATRIX_ROOM }}
|
|
message: "CLOSED ${{ github.event.issue.html_url }} by ${{ github.actor }} ${{ github.event.issue.title }}"
|