mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
.github/workflows: add irc notification workflow
This commit is contained in:
parent
ecdd71e339
commit
b4db900aa5
1 changed files with 27 additions and 0 deletions
27
.github/workflows/notify-irc.yaml
vendored
Normal file
27
.github/workflows/notify-irc.yaml
vendored
Normal file
|
@ -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 }}
|
Loading…
Add table
Reference in a new issue