void-packages/.github/workflows/notify-pr.yaml

25 lines
719 B
YAML
Raw Normal View History

name: "Pull Request Notification"
on:
pull_request:
types: [opened, closed]
jobs:
ircnotify:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: "Pull Request Notification"
uses: Gottox/irc-message-action@master
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 }}
${{ github.event.action }} pull request
“${{ github.event.pull_request.title }}”
${{ github.event.pull_request.html_url }}