calamares/.github/workflows/issues.yml
Adriaan de Groot 1da84ca09b CI: restore full build, restrict to 'our' repo
- this should prevent forks from duplicate-reporting builds
2021-02-01 14:41:07 +01:00

28 lines
866 B
YAML

name: issues
on:
issues:
types: [opened, reopened, closed]
jobs:
irc:
runs-on: ubuntu-latest
if: github.repository == "calamares/calamares"
steps:
- name: "notify: new"
uses: rectalogic/notify-irc@v1
if: github.event.issue.state == "open"
with:
server: chat.freenode.net
channel: "#calamares"
nickname: gh-issues
message: "[${{ github.event.issue.title }}](${{ github.event.issue.html_url }}) opened by ${{ github.actor }}"
- name: "notify: closed"
uses: rectalogic/notify-irc@v1
if: github.event.issue.state != "open"
with:
server: chat.freenode.net
channel: "#calamares"
nickname: gh-issues
message: "[${{ github.event.issue.title }}](${{ github.event.issue.html_url }}) closed by ${{ github.actor }}"