From afe08ebcfe2ca291972b786e9cc2fd664c1363df Mon Sep 17 00:00:00 2001 From: noamteyssier <22600644+noamteyssier@users.noreply.github.com> Date: Tue, 14 Jul 2026 11:21:17 -0700 Subject: [PATCH 1/2] fix: only run ci once on PR --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 958bbb7..41212ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,9 @@ name: "CI" -on: [push, pull_request] +on: + push: + branches: [main] + pull_request: jobs: all_jobs: From 38cec6e4fa3213d7c056963203c4a9faf985d2a3 Mon Sep 17 00:00:00 2001 From: noamteyssier <22600644+noamteyssier@users.noreply.github.com> Date: Tue, 14 Jul 2026 11:31:28 -0700 Subject: [PATCH 2/2] ci: only trigger semver-check when PR to main --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41212ab..d8957ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: semver-check: runs-on: ubuntu-latest - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request' && github.base_ref == 'main' steps: - uses: actions/checkout@v4