From f969764b0cfd87a31974c16c879e668d94be494d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9lio=20Costa?= Date: Thu, 8 Oct 2026 18:39:50 -0300 Subject: [PATCH] Run CI on pushes to main only, not every branch and tag CI still runs fmt --check, clippy -D warnings, build and test on every pull request and on pushes to main. It no longer runs a second time for each same-repo PR branch push, or for v* tag pushes, which release.yml already gates with its own cargo test. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50f067a..81ab1a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,7 @@ name: ci on: push: + branches: [main] pull_request: permissions: