File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " IRC 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 : " #cppcheck"
13+ nickname : cppcheck-github-notifier
14+ message : |
15+ ${{ github.actor }} pushed ${{ github.event.ref }} ${{ github.event.compare }}
16+ ${{ join(github.event.commits.*.message) }}
17+ - name : irc pull request
18+ uses : rectalogic/notify-irc@v1
19+ if : github.event_name == 'pull_request'
20+ with :
21+ channel : " #cppcheck"
22+ nickname : cppcheck-github-notifier
23+ message : |
24+ ${{ github.actor }} opened PR ${{ github.event.html_url }}
25+ - name : irc tag created
26+ uses : rectalogic/notify-irc@v1
27+ if : github.event_name == 'create' && github.event.ref_type == 'tag'
28+ with :
29+ channel : " #cppcheck"
30+ nickname : cppcheck-github-notifier
31+ message : |
32+ ${{ github.actor }} tagged ${{ github.repository }} ${{ github.event.ref }}
You can’t perform that action at this time.
0 commit comments