Skip to content

Commit 5dd25c6

Browse files
committed
Add IRC CI action
Signed-off-by: falkTX <[email protected]>
1 parent 7d238f1 commit 5dd25c6

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/irc.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: irc
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
pull_request:
8+
branches:
9+
- '*'
10+
11+
jobs:
12+
notification:
13+
runs-on: ubuntu-latest
14+
name: IRC notification
15+
steps:
16+
- name: Format message
17+
id: message
18+
run: |
19+
message="${{ github.actor }} pushed $(echo '${{ github.event.commits[0].message }}' | head -n 1) ${{ github.event.commits[0].url }}"
20+
echo ::set-output name=message::"${message}"
21+
- name: IRC notification
22+
uses: Gottox/irc-message-action@v2
23+
with:
24+
channel: '#kxstudio'
25+
nickname: kxstudio-bot
26+
message: ${{ steps.message.outputs.message }}

0 commit comments

Comments
 (0)