From b4db900aa59c260791c9daf5ad6723d01da7495b Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 18 Dec 2019 13:47:44 +0100 Subject: [PATCH] .github/workflows: add irc notification workflow --- .github/workflows/notify-irc.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/notify-irc.yaml diff --git a/.github/workflows/notify-irc.yaml b/.github/workflows/notify-irc.yaml new file mode 100644 index 00000000000..d71db79a8d7 --- /dev/null +++ b/.github/workflows/notify-irc.yaml @@ -0,0 +1,27 @@ +name: "Push Notification" +on: [push, pull_request] + +jobs: + ircnotify: + runs-on: ubuntu-latest + steps: + - name: irc push + uses: rectalogic/notify-irc@v1 + if: github.event_name == 'push' && github.repository == 'void-linux/void-packages' + with: + #notice: true + channel: "#xbps" + nickname: void-packages + message: |- + ${{ github.actor }} pushed to ${{ github.event.ref }} + >>> ${{ github.event.compare }} + - name: irc pull request + uses: rectalogic/notify-irc@v1 + if: github.event_name == 'pull_request' && github.repository == 'void-linux/void-packages' + with: + #notice: true + channel: "#xbps" + nickname: void-packages + message: |- + ${{ github.actor }} opened PR + >>> ${{ github.event.html_url }}