aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/bun.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/bun.yml b/.github/workflows/bun.yml
index 43780ced6..fe99afe15 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