CI: massage the issues-messages a little more, fix logic

This commit is contained in:
Adriaan de Groot 2021-01-31 23:07:48 +01:00
parent a289518a8a
commit 413614e14b

View File

@ -11,18 +11,18 @@ jobs:
-
name: notify-new
uses: rectalogic/notify-irc@v1
if: ${{ github.event.issue.state }} == "open"
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 }})"
message: "[${{ github.event.issue.title }}](${{ github.event.issue.url }}) opened by ${{ github.actor }}"
-
name: notify-closed
uses: rectalogic/notify-irc@v1
if: ${{ github.event.issue.state }} != "open"
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 }})"
message: "[${{ github.event.issue.title }}](${{ github.event.issue.url }}) closed by ${{ github.actor }}"