From d2f6b315a3d704c1e23f4922e9f41b25b0498c1a Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Thu, 27 Oct 2022 15:43:00 -0700 Subject: [PATCH] Avoid posting in Discord about preview releases (for now) Co-authored-by: Joseph Lyons --- .github/workflows/release_actions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release_actions.yml b/.github/workflows/release_actions.yml index 17cb8864e1..7328ea3fd1 100644 --- a/.github/workflows/release_actions.yml +++ b/.github/workflows/release_actions.yml @@ -8,6 +8,7 @@ jobs: steps: - name: Discord Webhook Action uses: tsickert/discord-webhook@v5.3.0 + if: ${{ ! github.event.release.prerelease }} with: webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} content: |