From 9244e2223239c11c307edca242b25e94a267c6f4 Mon Sep 17 00:00:00 2001 From: ymc9 <104139426+ymc9@users.noreply.github.com> Date: Mon, 21 Oct 2024 11:02:50 -0700 Subject: [PATCH] chore: add GitHub WF to push releases to Discord --- .github/workflows/github-releases-to-discord.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/github-releases-to-discord.yml diff --git a/.github/workflows/github-releases-to-discord.yml b/.github/workflows/github-releases-to-discord.yml new file mode 100644 index 000000000..dbd4c8d13 --- /dev/null +++ b/.github/workflows/github-releases-to-discord.yml @@ -0,0 +1,15 @@ +on: + release: + types: [published] +jobs: + github-releases-to-discord: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Github Releases To Discord + uses: SethCohen/github-releases-to-discord@v1.13.1 + with: + webhook_url: ${{ secrets.RELEASE_TO_DISCORD_WEBHOOK_URL }} + avatar_url: 'https://cdn.discordapp.com/avatars/1297059323314176051/df91181b3f1cf0ef1592fbe18e0962d7.webp?size=160' + reduce_headings: true