diff options
author | Scott <[email protected]> | 2019-11-15 21:35:59 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-11-15 21:35:59 +0000 |
commit | 2d9a80b36fe8f3f100b89dd34fcdee99d0964952 (patch) | |
tree | 80a3b48a746dfa18130a219a3091ff016f545522 | |
parent | 11146c96dcbb9e1aa533b01a9dac22c5f1b2a131 (diff) |
Create notify.yml
Re-enable IRC Notify but limit to this repository and not Forks.
-rw-r--r-- | .github/workflows/notify.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/notify.yml b/.github/workflows/notify.yml new file mode 100644 index 000000000..57c7d5628 --- /dev/null +++ b/.github/workflows/notify.yml @@ -0,0 +1,31 @@ +name: "Push Notification" +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Handle Commit + uses: rectalogic/notify-irc@v1 + if: github.event_name == 'push' && github.repository == 'HandBrake/HandBrake' + with: + channel: "#handbrake" + nickname: handbrake-bot + server: chat.freenode.net + port: 6697 + tls: true + message: | + ${{ github.actor }} pushed ${{ github.event.ref }} ${{ github.event.compare }} + ${{ join(github.event.commits.*.message) }} + + - name: Handle Pull Request + uses: rectalogic/notify-irc@v1 + if: github.event_name == 'pull_request' && github.repository == 'HandBrake/HandBrake' + with: + channel: "#handbrake" + nickname: handbrake-bot + server: chat.freenode.net + port: 6697 + tls: true + message: | + ${{ github.actor }} opened PR ${{ github.event.html_url }} |