partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit d6e537eb2877185bc96274421f1f122112d5beb6
parent 6c3a38e92a0ca178b967a45f22e3ca70b0a7f455
Author: dromer <1185977+dromer@users.noreply.github.com>
Date:   Fri, 13 Nov 2020 01:55:29 +0100

Merge pull request #1158 from partkeepr/feature/notify_irc

add notify_irc config
Diffstat:
A.github/workflows/notify_irc.yml | 35+++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/notify_irc.yml b/.github/workflows/notify_irc.yml @@ -0,0 +1,35 @@ +name: "Push Notification" +on: [push, pull_request, create] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: irc push + uses: rectalogic/notify-irc@v1 + if: github.event_name == 'push' + with: + channel: "#partkeepr" + nickname: PartKeepr + password: ${{ secrets.FREENODE_PASSWORD }} + 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: "#partkeepr" + nickname: PartKeepr + password: ${{ secrets.FREENODE_PASSWORD }} + message: | + ${{ github.actor }} opened PR ${{ github.event.html_url }} + - name: irc tag created + uses: rectalogic/notify-irc@v1 + if: github.event_name == 'create' && github.event.ref_type == 'tag' + with: + channel: "#partkeepr" + nickname: PartKeepr + password: ${{ secrets.FREENODE_PASSWORD }} + message: | + ${{ github.actor }} tagged ${{ github.repository }} ${{ github.event.ref }}