2019-12-19 22:00:30 +00:00
|
|
|
name: "Push Notification"
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [master]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
ircnotify:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
timeout-minutes: 3
|
|
|
|
steps:
|
2019-12-20 12:41:59 +00:00
|
|
|
- name: Shorten URL
|
|
|
|
id: shortener
|
|
|
|
if: github.repository == 'void-linux/void-packages'
|
|
|
|
uses: Gottox/url-shortener-action@master
|
|
|
|
with:
|
|
|
|
url: "${{ github.event.compare }}"
|
2019-12-19 22:00:30 +00:00
|
|
|
- name: "Push Notification"
|
|
|
|
uses: Gottox/irc-message-action@master
|
2020-01-27 21:16:01 +00:00
|
|
|
continue-on-error: true
|
2019-12-19 22:00:30 +00:00
|
|
|
if: github.repository == 'void-linux/void-packages'
|
|
|
|
with:
|
|
|
|
notice: true
|
|
|
|
channel: "#xbps"
|
|
|
|
nickname: void-packages
|
|
|
|
sasl_password: ${{ secrets.freenode_password_void_packages }}
|
|
|
|
tls: true
|
|
|
|
message: >-
|
|
|
|
${{ github.actor }}
|
|
|
|
pushed
|
2019-12-20 12:41:59 +00:00
|
|
|
${{ steps.shortener.outputs.short_url }}
|