From 9ed6b84e3f4ffeae2d55764b24888179100eb5f3 Mon Sep 17 00:00:00 2001 From: S2D2 Date: Thu, 19 Nov 2026 03:20:20 +0000 Subject: [PATCH] ci: run CI on push to main only Feature branches already get a pull_request run on the same commit, so the push run repeated the whole lint, test matrix and build. Over 2026-11-12 to 2026-11-19, 28 feature-branch push runs used 216 of 526 runner minutes. Requested by guillaume@stackone.com Co-Authored-By: Claude Opus 5.5 Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com> --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cc024ea..4a936f8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,7 +1,10 @@ name: CI on: + # Feature branches are tested by their pull_request run; a push run on the + # same commit would only repeat it. push: + branches: [main] pull_request: branches: [main]