From 2f787081b059909972d13ba33e5243b8f9d74322 Mon Sep 17 00:00:00 2001 From: Molecule AI Core Platform Lead Date: Thu, 14 May 2026 04:05:12 +0000 Subject: [PATCH] fix(ci): rename sop-checklist-gate workflow to match BP required context + cancel stale runs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sop-checklist-gate.yml emitted context `sop-checklist-gate / all-items-acked` but branch protection requires `sop-checklist / all-items-acked`. The word `gate` in the workflow name caused every PR to be permanently blocked. Additionally, add `concurrency` block to cancel in-progress runs when a new run starts, preventing stale runs from overwriting newer status contexts. Rename `name: sop-checklist-gate` → `name: sop-checklist` so the emitted context matches BP requirements. Fixes: molecule-ai/molecule-core#948 --- .gitea/workflows/sop-checklist-gate.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/sop-checklist-gate.yml b/.gitea/workflows/sop-checklist-gate.yml index 3fd3ba81..a3d22e2d 100644 --- a/.gitea/workflows/sop-checklist-gate.yml +++ b/.gitea/workflows/sop-checklist-gate.yml @@ -65,7 +65,13 @@ # membership, compute, post status). Re-running on any event is safe — # the new status overwrites the previous one for the same context. -name: sop-checklist-gate +name: sop-checklist + +# Cancel any in-progress runs for the same PR to prevent +# stale runs from overwriting newer status contexts. +concurrency: + group: ${{ github.repository }}-${{ github.event.pull_request.number }} + cancel-in-progress: true on: pull_request_target: -- 2.45.2