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 <[email protected]>
  • Loading branch information
matttbe authored and jenkins-tessares committed Feb 2, 2021
1 parent c2c6844 commit 13b4d63
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/irc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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.repository_owner == 'multipath-tcp' && 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.repository_owner == 'multipath-tcp' && 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 13b4d63

Please sign in to comment.