calamares/.github/workflows/issues.yml

27 lines
815 B
YAML
Raw Normal View History

name: issues
2021-01-31 22:01:41 +01:00
on:
issues:
types: [opened, reopened, closed]
jobs:
irc:
runs-on: ubuntu-latest
steps:
- name: "notify: new"
uses: rectalogic/notify-irc@v1
2021-02-01 16:28:20 +01:00
if: github.event.issue.state == 'open'
with:
server: chat.freenode.net
2021-01-28 15:29:44 +01:00
channel: "#calamares"
nickname: gh-issues
message: "[${{ github.event.issue.title }}](${{ github.event.issue.html_url }}) opened by ${{ github.actor }}"
- 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
channel: "#calamares"
nickname: gh-issues
message: "[${{ github.event.issue.title }}](${{ github.event.issue.html_url }}) closed by ${{ github.actor }}"