From d13a5fa554692123e6814a9be0fd4e9a43212545 Mon Sep 17 00:00:00 2001 From: Chris Yeninas <844685+PhantomGamers@users.noreply.github.com> Date: Sat, 27 Nov 2021 06:52:10 -0500 Subject: [PATCH] build.yaml: avoid duplicate builds --- .github/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d290c778..027192c6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -8,6 +8,7 @@ on: jobs: build: + if: (github.event_name == 'pull_request' && github.event.pull_request.merged != 'true') || github.event_name == 'push' runs-on: windows-latest steps: