From 3d4fa156ea3c5df06d17447d4fba8fd9d12d41c3 Mon Sep 17 00:00:00 2001 From: Oscar Spencer Date: Fri, 7 Nov 2025 10:17:01 -0500 Subject: [PATCH] chore: Run CI only on pull_request and pushes to main --- .github/workflows/esy.yml | 5 +++-- .github/workflows/opam.yml | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/esy.yml b/.github/workflows/esy.yml index 8b8cc45..0f2976d 100644 --- a/.github/workflows/esy.yml +++ b/.github/workflows/esy.yml @@ -1,7 +1,8 @@ name: Esy on: - - push - - pull_request + push: + branches: [main] + pull_request: # This will cancel previous runs when a branch or PR is updated concurrency: diff --git a/.github/workflows/opam.yml b/.github/workflows/opam.yml index 2132cb7..5cfbb18 100644 --- a/.github/workflows/opam.yml +++ b/.github/workflows/opam.yml @@ -1,7 +1,8 @@ name: Opam on: - - push - - pull_request + push: + branches: [main] + pull_request: # This will cancel previous runs when a branch or PR is updated concurrency: @@ -24,7 +25,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: "recursive" - + - name: Setup node.js uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 with: