Skip to content

Commit

Permalink
CI add IRC notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Sep 13, 2024
1 parent 92cae03 commit c123a1e
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/issue-notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: issue-notify

on:
issues:
types: [opened,assigned,closed,reopened]
issue_comment:
types: [created]
pull_request:
types: [closed,assigned,converted_to_draft,ready_for_review,review_requested]
pull_request_review:
types: [submitted]

jobs:
notify:
runs-on: ubuntu-latest
continue-on-error: true
if: ${{ always() }}
steps:
- uses: PDLPorters/devops/github-actions/irc-notifications@master
with:
target-notifications: true
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ on:
- master

jobs:
notify:
runs-on: ubuntu-latest
continue-on-error: true
if: ${{ always() }}
steps:
- uses: PDLPorters/devops/github-actions/irc-notifications@master
with:
target-notifications: true

build:
strategy:
fail-fast: false
Expand Down Expand Up @@ -93,3 +102,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cover -report Coveralls -test

build-status:
runs-on: ubuntu-latest
continue-on-error: true
if: ${{ always() }}
needs: [ 'build' ]
steps:
- uses: PDLPorters/devops/github-actions/irc-notifications@master
with:
target-build-status: true
needs: ${{ toJSON(needs) }}

0 comments on commit c123a1e

Please sign in to comment.