From fba20c1b39b428a68bd09893ebba9cbd8d4e2d4e Mon Sep 17 00:00:00 2001 From: Ludovic Ortega Date: Thu, 19 Feb 2026 22:47:26 +0100 Subject: [PATCH] ci: remove discord notification from release (#2501) Signed-off-by: Ludovic Ortega --- .github/workflows/release.yml | 39 ----------------------------------- 1 file changed, 39 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b79496b7..9bf72c7e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -304,42 +304,3 @@ jobs: run: gh release edit "${{ env.VERSION }}" --draft=false --repo "${{ github.repository }}" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - discord: - name: Send Discord Notification - needs: publish-release - if: always() - runs-on: ubuntu-24.04 - steps: - - name: Determine status - id: status - run: | - case "${{ needs.publish-release.result }}" in - success) echo "status=Success" >> $GITHUB_OUTPUT; echo "colour=3066993" >> $GITHUB_OUTPUT ;; - failure) echo "status=Failure" >> $GITHUB_OUTPUT; echo "colour=15158332" >> $GITHUB_OUTPUT ;; - cancelled) echo "status=Cancelled" >> $GITHUB_OUTPUT; echo "colour=10181046" >> $GITHUB_OUTPUT ;; - *) echo "status=Skipped" >> $GITHUB_OUTPUT; echo "colour=9807270" >> $GITHUB_OUTPUT ;; - esac - - - name: Send notification - run: | - WEBHOOK="${{ secrets.DISCORD_WEBHOOK }}" - - PAYLOAD=$(cat <