From c46add02d4b1281b97536f043ff86c91cbb9e15d Mon Sep 17 00:00:00 2001 From: cypress Date: Thu, 28 Nov 2024 22:11:40 -0800 Subject: [PATCH] YML: Do not build and release for Pull Requests --- .github/workflows/assemble-and-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/assemble-and-release.yml b/.github/workflows/assemble-and-release.yml index d45e516..09dfb4f 100644 --- a/.github/workflows/assemble-and-release.yml +++ b/.github/workflows/assemble-and-release.yml @@ -3,6 +3,7 @@ on: [push] jobs: Assemble-and-Release: runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' steps: - uses: actions/checkout@v2 - name: Clone Repository and Run Script