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-01-31 23:07:48 +01:00
|
|
|
if: github.event.issue.state == "open"
|
2021-01-28 15:00:45 +01:00
|
|
|
with:
|
|
|
|
server: chat.freenode.net
|
2021-01-28 15:29:44 +01:00
|
|
|
channel: "#calamares"
|
|
|
|
nickname: gh-issues
|
2021-01-31 23:07:48 +01:00
|
|
|
message: "[${{ github.event.issue.title }}](${{ github.event.issue.url }}) opened by ${{ github.actor }}"
|
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-01-31 23:07:48 +01:00
|
|
|
if: github.event.issue.state != "open"
|
2021-01-31 22:01:41 +01:00
|
|
|
with:
|
|
|
|
server: chat.freenode.net
|
|
|
|
channel: "#calamares"
|
|
|
|
nickname: gh-issues
|
2021-01-31 23:07:48 +01:00
|
|
|
message: "[${{ github.event.issue.title }}](${{ github.event.issue.url }}) closed by ${{ github.actor }}"
|