mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-03 04:15:37 -04:00
CI: munge the issues-notifications
This commit is contained in:
parent
0592d40bc2
commit
a289518a8a
1 changed files with 15 additions and 4 deletions
19
.github/workflows/issues.yml
vendored
19
.github/workflows/issues.yml
vendored
|
@ -1,17 +1,28 @@
|
||||||
name: issues
|
name: issues
|
||||||
|
|
||||||
on: issues
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened, reopened, closed]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
irc:
|
irc:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: notify
|
name: notify-new
|
||||||
uses: rectalogic/notify-irc@v1
|
uses: rectalogic/notify-irc@v1
|
||||||
|
if: ${{ github.event.issue.state }} == "open"
|
||||||
with:
|
with:
|
||||||
server: chat.freenode.net
|
server: chat.freenode.net
|
||||||
channel: "#calamares"
|
channel: "#calamares"
|
||||||
nickname: gh-issues
|
nickname: gh-issues
|
||||||
message: |
|
message: "New issue [${{ github.event.issue.title }}](${{ github.event.issue.url }})"
|
||||||
${{ github.actor }} issue ${{ github.event.issue.title }}
|
-
|
||||||
|
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 }})"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue