From 3524914eb572afd07dfb3be6ee94968c690c1efa Mon Sep 17 00:00:00 2001 From: jnasbyupgrade Date: Sat, 25 Jul 2026 17:11:27 -0500 Subject: [PATCH] CI: stop double-running on every PR commit on: [push, pull_request] fires CI twice for the same commit on any PR whose head branch lives in this repo (not a fork) - once for the push event, once for the pull_request event - which is what let one flaky run show red next to an identical green run on PR #14. Restrict the push trigger to master (matching cat_tools' own ci.yml); pull_request still covers every PR regardless of where its branch lives. --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4aaec9..23bacab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,9 @@ name: CI -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: test: strategy: