From 550eb9440b712514857183667de2ba3421572968 Mon Sep 17 00:00:00 2001 From: Spoked Date: Sun, 22 Sep 2024 09:26:31 -0400 Subject: [PATCH] chore: add discord release notification --- .github/workflows/notify-discord.yml | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/notify-discord.yml diff --git a/.github/workflows/notify-discord.yml b/.github/workflows/notify-discord.yml new file mode 100644 index 00000000..35b466d5 --- /dev/null +++ b/.github/workflows/notify-discord.yml @@ -0,0 +1,29 @@ +name: "Release Please and Notify Discord" + +on: + release: + types: [published] + workflow_dispatch: + +permissions: + contents: write + pull-requests: write + +jobs: + notify-discord: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Github Releases To Discord + uses: SethCohen/github-releases-to-discord@v1.15.0 + with: + webhook_url: ${{ secrets.DISCORD_WEBHOOK }} + color: "5378091" + username: "Riven Release Changelog" + avatar_url: "https://raw.githubusercontent.com/rivenmedia/riven/main/assets/riven-light.png" + # content: "||@here||" + footer_title: "Changelog" + footer_icon_url: "https://raw.githubusercontent.com/rivenmedia/riven/main/assets/riven-light.png" + footer_timestamp: true \ No newline at end of file