Skip to content

Commit

Permalink
add IRC notifications for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckenna committed Jun 18, 2021
1 parent 8bb90bf commit 9681536
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/irc_notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "IRC Push Notification"
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
irc_notify:
runs-on: ubuntu-latest
if: github.repository == 'geomoose/geomoose-website'
steps:
- name: irc push
uses: rectalogic/notify-irc@v1
if: github.event_name == 'push'
with:
channel: "#geomoose"
server: "irc.libera.chat"
nickname: geomoose-github-notifier
message: |
${{ github.actor }} pushed ${{ github.event.ref }} ${{ github.event.compare }}
${{ join(github.event.commits.*.message) }}
- name: irc pull request
uses: rectalogic/notify-irc@v1
if: github.event_name == 'pull_request'
with:
channel: "#geomoose"
server: "irc.libera.chat"
nickname: geomoose-github-notifier
message: |
${{ github.actor }} opened PR ${{ github.event.pull_request.html_url }}
- name: irc tag created
uses: rectalogic/notify-irc@v1
if: github.event_name == 'create' && github.event.ref_type == 'tag'
with:
channel: "#geomoose"
server: "irc.libera.chat"
nickname: geomoose-github-notifier
message: |
${{ github.actor }} tagged ${{ github.repository }} ${{ github.event.ref }}

0 comments on commit 9681536

Please sign in to comment.