2021-01-28 15:00:45 +01:00
|
|
|
name: issues
|
|
|
|
|
2021-01-31 22:01:41 +01:00
|
|
|
on:
|
|
|
|
issues:
|
|
|
|
types: [opened, reopened, closed]
|
2021-01-28 15:00:45 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
irc:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-02-01 14:25:02 +01:00
|
|
|
- name: "notify: new"
|
2021-01-28 15:00:45 +01:00
|
|
|
uses: rectalogic/notify-irc@v1
|
2021-02-01 16:28:20 +01:00
|
|
|
if: github.event.issue.state == 'open'
|
2021-01-28 15:00:45 +01:00
|
|
|
with:
|
|
|
|
server: chat.freenode.net
|
2021-02-03 11:57:24 +01:00
|
|
|
nickname: cala-issues
|
2021-01-28 15:29:44 +01:00
|
|
|
channel: "#calamares"
|
2021-02-03 11:57:24 +01:00
|
|
|
message: "OPENED ${{ github.event.issue.html_url }} by ${{ github.actor }} ${{ github.event.issue.title }}"
|
2021-02-01 14:25:02 +01:00
|
|
|
- name: "notify: closed"
|
2021-01-31 22:01:41 +01:00
|
|
|
uses: rectalogic/notify-irc@v1
|
2021-02-01 16:28:20 +01:00
|
|
|
if: github.event.issue.state != 'open'
|
2021-01-31 22:01:41 +01:00
|
|
|
with:
|
|
|
|
server: chat.freenode.net
|
2021-02-03 11:57:24 +01:00
|
|
|
nickname: cala-issues
|
2021-01-31 22:01:41 +01:00
|
|
|
channel: "#calamares"
|
2021-02-03 11:57:24 +01:00
|
|
|
message: "CLOSED ${{ github.event.issue.html_url }} by ${{ github.actor }} ${{ github.event.issue.title }}"
|