Skip to content

Commit bdb95de

Browse files
matttbejenkins-tessares
authored andcommitted
DO-NOT-MERGE: mptcp: add GitHub Actions
Currently supported: - irc: send notifications to the IRC channel Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
1 parent 37e13d6 commit bdb95de

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/irc.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "IRC Notifications"
2+
on:
3+
create:
4+
issues:
5+
types: [opened, reopened, closed, assigned, unassigned]
6+
7+
jobs:
8+
irc:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: irc tag
12+
uses: rectalogic/notify-irc@v1
13+
if: github.event_name == 'create' && github.event.ref_type == 'tag'
14+
with:
15+
channel: "#MPTCPUpstream"
16+
nickname: gh-tag-bot
17+
message: |
18+
New tag available: ${{ github.event.ref }} (by ${{ github.actor }})
19+
- name: irc issues
20+
uses: rectalogic/notify-irc@v1
21+
if: github.event_name == 'issues'
22+
with:
23+
channel: "#MPTCPUpstream"
24+
nickname: gh-issues-bot
25+
message: |
26+
Issue #${{ github.event.issue.number }} has been ${{ github.event.action }} by ${{ github.actor }}.
27+
Issue title: "${{ github.event.issue.title }}"
28+
Issue opened by: ${{ github.event.issue.user.login }}
29+
Assignee (if any): ${{ github.event.assignee.login }}
30+
URL: ${{ github.event.issue.html_url }}

0 commit comments

Comments
 (0)