aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorEnno Boland <gottox@voidlinux.org>2019-12-18 12:47:44 +0000
committerEnno Boland <g@s01.de>2019-12-18 14:32:03 +0000
commitb4db900aa59c260791c9daf5ad6723d01da7495b (patch)
tree806f35df7840631fcbf8b7b5b8afa957c045e9d8 /.github/workflows
parentecdd71e3394c6727d3a89902d75d992fc7500df9 (diff)
downloadvoid-packages-b4db900aa59c260791c9daf5ad6723d01da7495b.tar
void-packages-b4db900aa59c260791c9daf5ad6723d01da7495b.tar.gz
void-packages-b4db900aa59c260791c9daf5ad6723d01da7495b.tar.bz2
void-packages-b4db900aa59c260791c9daf5ad6723d01da7495b.tar.lz
void-packages-b4db900aa59c260791c9daf5ad6723d01da7495b.tar.xz
void-packages-b4db900aa59c260791c9daf5ad6723d01da7495b.tar.zst
void-packages-b4db900aa59c260791c9daf5ad6723d01da7495b.zip
.github/workflows: add irc notification workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/notify-irc.yaml27
1 files changed, 27 insertions, 0 deletions
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 }}