-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DO-NOT-MERGE: mptcp: add GitHub Actions
Currently supported: - irc: send notifications to the IRC channel Signed-off-by: Matthieu Baerts <[email protected]>
- Loading branch information
1 parent
c2c6844
commit 13b4d63
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |