From 4e4492cfbbb4d0fac9031176ff24d5b22a5520f7 Mon Sep 17 00:00:00 2001 From: plyght <nico.c.jaffer@gmail.com> Date: Mon, 27 Jan 2025 17:23:30 -0500 Subject: [PATCH] added workflow --- .../workflows/github-releases-to-discord.yml | 23 +++++++++++++++++++ 1 file changed, 23 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 00000000..bd85a2d5 --- /dev/null +++ b/.github/workflows/github-releases-to-discord.yml @@ -0,0 +1,23 @@ +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 + with: + webhook_url: ${{ secrets.WEBHOOK_URL }} + color: "2105893" + username: "Release Changelog" + avatar_url: "https://example.com/avatar.png" + content: "||@everyone||" + footer_title: "Release Notification" + footer_icon_url: "https://example.com/footer-icon.png" + footer_timestamp: true + max_description: '4096' + reduce_headings: true \ No newline at end of file