Skip to content

Commit

Permalink
DO-NOT-MERGE: mptcp: add GitHub Actions
Browse files Browse the repository at this point in the history
Currently supported:

- irc: send notifications to the IRC channel

Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
  • Loading branch information
matttbe authored and jenkins-tessares committed Dec 9, 2020
1 parent 6aa8731 commit 525593c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/irc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "IRC Notifications"
on:
create:
issues:
types: [opened, reopened, closed, assigned, unassigned]

jobs:
irc:
runs-on: ubuntu-latest
steps:
- name: irc tag
uses: rectalogic/notify-irc@v1
if: github.event_name == 'create' && github.event.ref_type == 'tag'
with:
channel: "#MPTCPUpstream"
nickname: gh-tag-bot
message: |
New tag available: ${{ github.event.ref }} (by ${{ github.actor }})
- name: irc issues
uses: rectalogic/notify-irc@v1
if: github.event_name == 'issues'
with:
channel: "#MPTCPUpstream"
nickname: gh-issues-bot
message: |
Issue #${{ github.event.issue.number }} has been ${{ github.event.action }} by ${{ github.actor }}.
Issue title: "${{ github.event.issue.title }}"
Issue opened by: ${{ github.event.issue.user.login }}
Assignee (if any): ${{ github.event.assignee.login }}
URL: ${{ github.event.issue.html_url }}

0 comments on commit 525593c

Please sign in to comment.