Skip to content

Commit

Permalink
Github-CI/notify-irc: add notification for GitHub issues
Browse files Browse the repository at this point in the history
  • Loading branch information
meebey committed Jan 3, 2021
1 parent 4ae2824 commit d60bb78
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/notify-irc.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Notify IRC
on:
- push
- pull_request
- create
push:
pull_request:
create:
issues:
types: [opened, reopened, closed]

jobs:
notify:
Expand Down Expand Up @@ -35,3 +37,12 @@ jobs:
nickname: github-ci
message: |
${{ github.actor }} tagged ${{ github.repository }} ${{ github.event.ref }}
- name: irc issues
uses: rectalogic/notify-irc@v1
if: github.event_name == 'issues'
with:
channel: "#smuxi-devel"
notice: true
nickname: github-ci
message: |
${{ github.actor }} ${{ github.event.action }} issue #${{ github.event.issue.number }} in ${{ github.repository }} with title "${{ github.event.issue.title }}" ${{ github.event.issue.html_url }}

0 comments on commit d60bb78

Please sign in to comment.