From 67ca5a9d2439fb1621b241122c0fa8847355394c Mon Sep 17 00:00:00 2001 From: Nebula Date: Sun, 14 May 2023 20:11:12 -0400 Subject: [PATCH] ci: do not trigger discord alert on PR --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0c4ce1a..93066ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -786,7 +786,7 @@ jobs: discord-alert: runs-on: ubuntu-latest - if: ${{ always() && contains(join(needs.*.result, ','), 'success') }} + if: ${{ github.event_name != 'pull_request' }} needs: [build-docs, build-darwin, darwin-dist, build-Linux] steps: - name: Send Discord build message