.github/workflows: Remove old notifications
This commit is contained in:
parent
f7f8341645
commit
9b61bf5df5
31
.github/workflows/notify-issue.yaml
vendored
31
.github/workflows/notify-issue.yaml
vendored
|
@ -1,31 +0,0 @@
|
||||||
name: "Issue Notification"
|
|
||||||
on:
|
|
||||||
issues:
|
|
||||||
types: [opened, closed]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
ircnotify:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 3
|
|
||||||
steps:
|
|
||||||
- name: Shorten URL
|
|
||||||
id: shortener
|
|
||||||
if: github.repository == 'void-linux/void-packages'
|
|
||||||
uses: Gottox/url-shortener-action@master
|
|
||||||
with:
|
|
||||||
url: "${{ github.event.issue.html_url }}"
|
|
||||||
- name: "Issue Notification"
|
|
||||||
uses: Gottox/irc-message-action@main
|
|
||||||
continue-on-error: true
|
|
||||||
if: github.repository == 'void-linux/void-packages'
|
|
||||||
with:
|
|
||||||
channel: "#xbps"
|
|
||||||
nickname: void-packages
|
|
||||||
sasl_password: ${{ secrets.freenode_password_void_packages }}
|
|
||||||
tls: true
|
|
||||||
message: >-
|
|
||||||
${{ github.actor }}
|
|
||||||
${{ github.event.action }} issue
|
|
||||||
#${{ github.event.issue.number }}
|
|
||||||
“${{ github.event.issue.title }}”
|
|
||||||
${{ steps.shortener.outputs.short_url }}
|
|
31
.github/workflows/notify-pr.yaml
vendored
31
.github/workflows/notify-pr.yaml
vendored
|
@ -1,31 +0,0 @@
|
||||||
name: "Pull Request Notification"
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
types: [opened, closed]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
ircnotify:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 3
|
|
||||||
steps:
|
|
||||||
- name: Shorten URL
|
|
||||||
id: shortener
|
|
||||||
if: github.repository == 'void-linux/void-packages'
|
|
||||||
uses: Gottox/url-shortener-action@master
|
|
||||||
with:
|
|
||||||
url: "${{ github.event.pull_request.html_url }}"
|
|
||||||
- name: "Pull Request Notification"
|
|
||||||
uses: Gottox/irc-message-action@main
|
|
||||||
continue-on-error: true
|
|
||||||
if: github.repository == 'void-linux/void-packages'
|
|
||||||
with:
|
|
||||||
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.number }}
|
|
||||||
“${{ github.event.pull_request.title }}”
|
|
||||||
${{ steps.shortener.outputs.short_url }}
|
|
29
.github/workflows/notify-push.yaml
vendored
29
.github/workflows/notify-push.yaml
vendored
|
@ -1,29 +0,0 @@
|
||||||
name: "Push Notification"
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [master]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
ircnotify:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 3
|
|
||||||
steps:
|
|
||||||
- name: Shorten URL
|
|
||||||
id: shortener
|
|
||||||
if: github.repository == 'void-linux/void-packages'
|
|
||||||
uses: Gottox/url-shortener-action@master
|
|
||||||
with:
|
|
||||||
url: "${{ github.event.compare }}"
|
|
||||||
- name: "Push Notification"
|
|
||||||
uses: Gottox/irc-message-action@main
|
|
||||||
continue-on-error: true
|
|
||||||
if: github.repository == 'void-linux/void-packages'
|
|
||||||
with:
|
|
||||||
channel: "#xbps"
|
|
||||||
nickname: void-packages
|
|
||||||
sasl_password: ${{ secrets.freenode_password_void_packages }}
|
|
||||||
tls: true
|
|
||||||
message: >-
|
|
||||||
${{ github.actor }}
|
|
||||||
pushed
|
|
||||||
${{ steps.shortener.outputs.short_url }}
|
|
Loading…
Reference in a new issue