From b09290b9cb747b853ae0d147afbb95bd08ffb2e7 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Sat, 23 Jul 2022 16:35:59 -0700 Subject: [PATCH] [wip] GitHub action fix --- .github/workflows/bun.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bun.yml b/.github/workflows/bun.yml index 43780ced67..fe99afe154 100644 --- a/.github/workflows/bun.yml +++ b/.github/workflows/bun.yml @@ -156,7 +156,7 @@ jobs: name: release runs-on: ubuntu-18.04 timeout-minutes: 90 - if: github.event_name == 'push' + if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'pull_request' && github.event.pull_request.merged) }} needs: - linux-x64 - linux-aarch64