File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ # send build notifications to the #mapserver-docs IRC channel
2+ # homepage: https://github.com/marketplace/actions/notify-irc
3+
4+ name : " IRC Push Notification"
5+ on :
6+ push :
7+ branches :
8+ - main
9+ pull_request :
10+ branches :
11+ - main
12+
13+ jobs :
14+ irc_notify :
15+ runs-on : ubuntu-latest
16+ # if: github.repository == 'MapServer/tinyows'
17+ steps :
18+ - name : irc push
19+ uses : rectalogic/notify-irc@v2
20+ if : github.event_name == 'push'
21+ with :
22+ channel : " #tinyows"
23+ server : " irc.libera.chat"
24+ nickname : tinyows-github-notifier
25+ message : |
26+ ${{ github.actor }} pushed ${{ github.event.ref }} ${{ github.event.compare }}
27+ ${{ join(github.event.commits.*.message) }}
28+ - name : irc pull request
29+ uses : rectalogic/notify-irc@v2
30+ if : github.event_name == 'pull_request'
31+ with :
32+ channel : " #tinyows"
33+ server : " irc.libera.chat"
34+ nickname : tinyows-github-notifier
35+ message : |
36+ ${{ github.actor }} opened PR ${{ github.event.pull_request.html_url }}
37+ ${{ github.event.pull_request.title }}
38+ - name : irc tag created
39+ uses : rectalogic/notify-irc@v2
40+ if : github.event_name == 'create' && github.event.ref_type == 'tag'
41+ with :
42+ channel : " #tinyows"
43+ server : " irc.libera.chat"
44+ nickname : tinyows-github-notifier
45+ message : |
46+ ${{ github.actor }} tagged ${{ github.repository }} ${{ github.event.ref }}
You can’t perform that action at this time.
0 commit comments