From 5885b1fe2293007a79cb39e6d39b4a581c0134b2 Mon Sep 17 00:00:00 2001 From: chappie-daemon Date: Thu, 15 Oct 2026 15:24:24 -0400 Subject: [PATCH] ci: skip unit and integration suites on changeset release PRs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A release PR (changeset-release/main) only touches manifests and changelogs — the code it carries is identical to what just finished green on main, and the squash-merge runs the full suite on main anyway (checks.yml push trigger). Keeping lint, build check and commitlint on the release PR preserves the branch-protection signal while dropping the two long suites (unit + integration/docker). Same gate shape as changeset-check already uses (github.head_ref != 'changeset-release/main'). --- .github/workflows/checks.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index b1cf0ae5d..82809889d 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -112,7 +112,8 @@ jobs: if: | needs.changes.outputs.src == 'true' && needs.lint.result == 'success' && - needs.build-check.result == 'success' + needs.build-check.result == 'success' && + github.head_ref != 'changeset-release/main' steps: - name: Checkout uses: actions/checkout@v4 @@ -155,7 +156,8 @@ jobs: if: | needs.changes.outputs.src == 'true' && needs.lint.result == 'success' && - needs.build-check.result == 'success' + needs.build-check.result == 'success' && + github.head_ref != 'changeset-release/main' steps: - name: Checkout uses: actions/checkout@v4