calamares/.github/workflows/issues.yml
Adriaan de Groot eee5674f6d CI: remove if-expression, it triggers a syntax error
- unclear why this wasn't evaluated in expression context before
2021-02-01 15:04:13 +01:00

27 lines
815 B
YAML

name: issues
on:
issues:
types: [opened, reopened, closed]
jobs:
irc:
runs-on: ubuntu-latest
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 }}"