From 4528c059aa86a4bea4f07fa251af34db1f61e3da Mon Sep 17 00:00:00 2001 From: Hardik Date: Mon, 22 Jun 2026 18:22:40 +0530 Subject: [PATCH] ci(crewing): match the whole stack with a feat/crewing-* glob MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the per-branch PR-checks trigger ([master, feat/crewing-foundations]) with [master, "feat/crewing-*"] so every branch in the stacked crewing series (foundations → requisitions → candidates → …) runs the same hard gates without adding each one by hand. The workflow is evaluated from the branch under test, so the glob is propagated down the stack. --- .forgejo/workflows/pr-checks.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/pr-checks.yml b/.forgejo/workflows/pr-checks.yml index 360c833..6d69b54 100644 --- a/.forgejo/workflows/pr-checks.yml +++ b/.forgejo/workflows/pr-checks.yml @@ -1,20 +1,22 @@ name: PR checks # Enforces the contribution policy on every PR into master — plus the crewing -# integration branch (feat/crewing-foundations), which collects the stacked, -# feature-flagged crewing phases before they merge to master. Same hard gates: +# stack branches (feat/crewing-*), which collect the stacked, feature-flagged +# crewing phases (foundations → requisitions → candidates → …) before they merge +# to master. Same hard gates: # - code changes must ship with tests (docs/config/automation are exempt) # - type-check is clean across the whole project (tests included) # - unit tests pass # - integration tests pass against an ephemeral Postgres (migrate + seed) # Runs on the pms1 host runner. See automation/README.md > "Contribution policy". # -# Note: for pull_request events the workflow is read from the BASE branch, so a -# base must appear in this list for its incoming PRs to be checked. +# Note: the workflow is evaluated from the branch under test, so the trigger list +# must match it. The feat/crewing-* glob covers every branch in the stack so each +# stacked phase PR is checked without further edits to this file. on: pull_request: - branches: [master, feat/crewing-foundations] + branches: [master, "feat/crewing-*"] jobs: checks: