calamares/.github/workflows/issues.yml
2021-01-31 22:01:41 +01:00

29 lines
792 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: "New issue [${{ github.event.issue.title }}](${{ github.event.issue.url }})"
-
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: "Closed issue [${{ github.event.issue.title }}](${{ github.event.issue.url }})"