From e69cddcbef837014b77f7acd04cdc599c96af187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Connor=20B=C3=A4r?= Date: Tue, 12 Oct 2021 14:13:16 +0200 Subject: [PATCH] Only run action on main branch --- .github/workflows/ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e67342d..67cec09 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,6 +21,7 @@ jobs: - name: Build action run: yarn build - name: Sync test branch + if: github.ref == 'refs/heads/main' uses: ./ with: branch: test