ci(crewing): match the whole stack with a feat/crewing-* glob
All checks were successful
PR checks / checks (pull_request) Successful in 37s
PR checks / integration (pull_request) Successful in 26s

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.
This commit is contained in:
Hardik 2026-06-22 18:22:40 +05:30
parent ff0539de92
commit 4528c059aa

View file

@ -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: