File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Push Notification"
2
+ on : [push, pull_request, create]
3
+
4
+ jobs :
5
+ test :
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - name : irc push
9
+ uses : rectalogic/notify-irc@v1
10
+ if : github.event_name == 'push'
11
+ with :
12
+ channel : " #gonzobot-dev"
13
+ nickname : tnr-git
14
+ server : irc.snoonet.org
15
+ sasl_password : ${{ secrets.IRC_PASSWORD }}
16
+ message : |
17
+ ${{ github.actor }} pushed ${{ github.event.ref }} ${{ github.event.compare }}
18
+ ${{ join(github.event.commits.*.message) }}
19
+ - name : irc pull request
20
+ uses : rectalogic/notify-irc@v1
21
+ if : github.event_name == 'pull_request'
22
+ with :
23
+ channel : " #gonzobot-dev"
24
+ nickname : tnr-git
25
+ server : irc.snoonet.org
26
+ sasl_password : ${{ secrets.IRC_PASSWORD }}
27
+ message : |
28
+ ${{ github.actor }} opened PR ${{ github.event.html_url }}
29
+ - name : irc tag created
30
+ uses : rectalogic/notify-irc@v1
31
+ if : github.event_name == 'create' && github.event.ref_type == 'tag'
32
+ with :
33
+ channel : " #gonzobot-dev"
34
+ nickname : tnr-git
35
+ server : irc.snoonet.org
36
+ sasl_password : ${{ secrets.IRC_PASSWORD }}
37
+ message : |
38
+ ${{ github.actor }} tagged ${{ github.repository }} ${{ github.event.ref }}
You can’t perform that action at this time.
0 commit comments