diff options
author | Duncaen <duncaen@voidlinux.org> | 2019-12-18 19:28:18 +0000 |
---|---|---|
committer | Duncaen <duncaen@voidlinux.org> | 2019-12-18 19:28:46 +0000 |
commit | 1e504671cee15fcfcf5e51096defef7a6450ace6 (patch) | |
tree | 9896d310d6f52a53380213e0fe06f89924339bb8 /.github/workflows | |
parent | 483ce39e1e5c4243d4f2ad0e824e2db04491fb3e (diff) | |
download | void-packages-1e504671cee15fcfcf5e51096defef7a6450ace6.tar void-packages-1e504671cee15fcfcf5e51096defef7a6450ace6.tar.gz void-packages-1e504671cee15fcfcf5e51096defef7a6450ace6.tar.bz2 void-packages-1e504671cee15fcfcf5e51096defef7a6450ace6.tar.lz void-packages-1e504671cee15fcfcf5e51096defef7a6450ace6.tar.xz void-packages-1e504671cee15fcfcf5e51096defef7a6450ace6.tar.zst void-packages-1e504671cee15fcfcf5e51096defef7a6450ace6.zip |
.github/workflows: try to make irc notifications more useful
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/notify-irc.yaml | 34 |
1 files changed, 25 insertions, 9 deletions
diff --git a/.github/workflows/notify-irc.yaml b/.github/workflows/notify-irc.yaml index d71db79a8d7..8d1490e5733 100644 --- a/.github/workflows/notify-irc.yaml +++ b/.github/workflows/notify-irc.yaml @@ -1,5 +1,11 @@ name: "Push Notification" -on: [push, pull_request] +on: + push: + branches: [master] + pull_request: + types: [opened, closed] + issues: + types: [opened, closed] jobs: ircnotify: @@ -9,19 +15,29 @@ jobs: uses: rectalogic/notify-irc@v1 if: github.event_name == 'push' && github.repository == 'void-linux/void-packages' with: - #notice: true + notice: true channel: "#xbps" nickname: void-packages - message: |- - ${{ github.actor }} pushed to ${{ github.event.ref }} - >>> ${{ github.event.compare }} + tls: true + message: | + ${{ github.actor }} pushed ${{ 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 + notice: true channel: "#xbps" nickname: void-packages - message: |- - ${{ github.actor }} opened PR - >>> ${{ github.event.html_url }} + tls: true + message: | + ${{ github.actor }} ${{ github.event.action }} pull request #${{ github.event.pull_request.html_url }}“ ${{ github.event.pull_request.number }}” + - name: irc issue + uses: rectalogic/notify-irc@v1 + if: github.event_name == 'issues' && github.repository == 'void-linux/void-packages' + with: + notice: true + channel: "#xbps" + nickname: void-packages + tls: true + message: | + ${{ github.actor }} ${{ github.event.action }} issue #${{ github.event.issue.number }} “${{ github.event.issue.html_url }}” |