mirror of
https://github.com/labwc/labwc.git
synced 2026-03-06 01:40:15 -05:00
CI: add IRC notification for discussion created
This commit is contained in:
parent
0137ffaf8c
commit
02e85b8298
1 changed files with 11 additions and 0 deletions
11
.github/workflows/irc.yml
vendored
11
.github/workflows/irc.yml
vendored
|
|
@ -5,6 +5,8 @@ on:
|
||||||
types: [opened, closed, reopened]
|
types: [opened, closed, reopened]
|
||||||
issues:
|
issues:
|
||||||
types: [opened, closed, reopened]
|
types: [opened, closed, reopened]
|
||||||
|
discussion:
|
||||||
|
types: [created]
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'master_disabled'
|
- 'master_disabled'
|
||||||
|
|
@ -50,6 +52,15 @@ jobs:
|
||||||
nickname: "labwc"
|
nickname: "labwc"
|
||||||
notice: true
|
notice: true
|
||||||
message: "${{ github.actor }} closed issue '${{ github.event.issue.title }}' (${{ github.event.issue.html_url }})"
|
message: "${{ github.actor }} closed issue '${{ github.event.issue.title }}' (${{ github.event.issue.html_url }})"
|
||||||
|
- name: discussion started
|
||||||
|
uses: rectalogic/notify-irc@v1
|
||||||
|
if: github.event_name == 'discussion' && github.event.action == 'created'
|
||||||
|
with:
|
||||||
|
server: "irc.libera.chat"
|
||||||
|
channel: "#labwc"
|
||||||
|
nickname: "labwc"
|
||||||
|
notice: true
|
||||||
|
message: "${{ github.actor }} opened discussion '${{ github.event.discussion.title }}' (${{ github.event.discussion.html_url }})"
|
||||||
- name: irc pull request opened
|
- name: irc pull request opened
|
||||||
uses: rectalogic/notify-irc@v1
|
uses: rectalogic/notify-irc@v1
|
||||||
if: github.event_name == 'pull_request' && github.event.action == 'opened'
|
if: github.event_name == 'pull_request' && github.event.action == 'opened'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue