From 3ce5d8ba546fd4057a3a7af9040fb619b65bc1e5 Mon Sep 17 00:00:00 2001 From: Lex Date: Wed, 19 Aug 2026 21:30:21 +0800 Subject: [PATCH] chore(specgit): acceptance also runs on PRs to main MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit main's legacy branch protection requires the SpecGit Acceptance check, but the workflow only triggered on PRs to dev — the dev->main release PR was permanently BLOCKED with all four Ruleset checks green. --- .github/workflows/specgit-accept.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/specgit-accept.yml b/.github/workflows/specgit-accept.yml index 6421b235a..ff9080efd 100644 --- a/.github/workflows/specgit-accept.yml +++ b/.github/workflows/specgit-accept.yml @@ -2,9 +2,12 @@ name: SpecGit Acceptance on: pull_request: - # Delivery PRs target dev (fast-integration layer); dev→main promotion - # stays governed by the protect-main Ruleset's four required checks. - branches: [dev] + # Delivery PRs target dev (fast-integration layer) and are promoted to + # main via the release PR — main's legacy branch protection also requires + # the SpecGit Acceptance check, so the verdict must run on both targets. + # dev→main promotion stays governed by the protect-main Ruleset's four + # required checks. + branches: [dev, main] permissions: contents: read