CI: move issues notification to Matrix
This commit is contained in:
parent
b419f5a3c3
commit
e15db9a68c
14
.github/workflows/issues.yml
vendored
14
.github/workflows/issues.yml
vendored
@ -9,18 +9,16 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "notify: new"
|
||||
uses: rectalogic/notify-irc@v1
|
||||
if: github.event.issue.state == 'open'
|
||||
uses: ./.github/actions/notify-push
|
||||
with:
|
||||
server: chat.freenode.net
|
||||
nickname: cala-issues
|
||||
channel: "#calamares"
|
||||
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"
|
||||
uses: rectalogic/notify-irc@v1
|
||||
if: github.event.issue.state != 'open'
|
||||
uses: ./.github/actions/notify-push
|
||||
with:
|
||||
server: chat.freenode.net
|
||||
nickname: cala-issues
|
||||
channel: "#calamares"
|
||||
token: ${{ secrets.MATRIX_TOKEN }}
|
||||
room: ${{ secrets.MATRIX_ROOM }}
|
||||
message: "CLOSED ${{ github.event.issue.html_url }} by ${{ github.actor }} ${{ github.event.issue.title }}"
|
||||
|
Loading…
Reference in New Issue
Block a user