From d719e577163cfad9cdca38bda83fb6c68a8e1980 Mon Sep 17 00:00:00 2001 From: Tomasz Kowalczyk Date: Thu, 9 Jul 2026 10:53:00 +0200 Subject: [PATCH] ci: stop running the verify suite on main pushes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI and Release both triggered on `push: [main]`, so every merge ran the types/test/lint/knip suite twice. Release already self-verifies before semantic-release + deploy (release.yml), so the CI run on main was pure duplication — a failure there would block the deploy via Release anyway. Keep CI on `pull_request` (the branch-protection gate; Release never runs on PRs) and let Release own main-branch verification. No workflow_run coupling — Release stays self-contained so a deploy never rides on an external green signal. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 177d6f3..47f22f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,8 +2,6 @@ name: CI on: pull_request: - push: - branches: [main] permissions: contents: read