ci: github action to notify releases via irc

This commit is contained in:
Felipe M 2022-02-15 17:39:02 +01:00
parent 3c8a66f8f8
commit feb150f8c6
No known key found for this signature in database
GPG key ID: 716BC147715E716F

20
.github/workflows/release_notify.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Release notifier
on:
release:
types: [published]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Notify IRC
uses: Gottox/irc-message-action@v2
with:
server: "irc.libera.chat"
channel: "#shiori"
nickname: ShioriBot
tls: true
sasl_password: ${{ secrets.IRC_SHIORIBOT_PWD }}
message: "New release: ${{ github.event.repository.full_name }}@${{ github.event.release.name }}: ${{ github.event.release.html_url }}"