mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-10 11:34:38 +02:00
ci: workflow to ping Discord users when patches are released (#72)
* init: Workflow to notify discord users of releases * Rename workflow * chore (Background playback): Shorten description * Revert "chore (Background playback): Shorten description" This reverts commit 10661b870f0c9c670c5d522f9b2ca7cc82d32772. * Change message contents
This commit is contained in:
parent
22f9d63b35
commit
6499b7d3f0
22
.github/workflows/discord_ping_on_release.yml
vendored
Normal file
22
.github/workflows/discord_ping_on_release.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: Ping Discord on release
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
notify-discord:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: sarisia/actions-status-discord@v1
|
||||||
|
if: always()
|
||||||
|
with:
|
||||||
|
webhook: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
||||||
|
username: ReVanced Extended
|
||||||
|
color: 0xff5252
|
||||||
|
nodetail: true
|
||||||
|
notimestamp: true
|
||||||
|
content: "<@&1271197877724643461>"
|
||||||
|
title: "Patches `${{ github.event.release.tag_name }}` has been released!"
|
||||||
|
description: |
|
||||||
|
Click [here]( ${{github.event.repository.html_url }}/releases/tag/${{ github.event.release.tag_name }}) to read the changelog.
|
Loading…
x
Reference in New Issue
Block a user