From b7cf1336f053af8486aec4e38d29ec5b12921ef6 Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 8 May 2024 15:40:39 -0700 Subject: [PATCH] ci: only publish to discord if a new version was determined --- .github/workflows/semantic-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index 7e1b1e73..a63d3ee7 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -28,6 +28,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Discord notification + if: steps.semantic-release.outputs.version != 'null' uses: Ilshidur/action-discord@master env: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}