docs: a repo-root caller so every PR reports CI Pipeline #92

Merged
cjournois merged 1 commit from fix/root-caller into main 2026-11-03 16:33:21 +00:00
Collaborator

Branch protection (repo-toolkit, devops/config repo-toolkit/organization.json) requires ci: * / CI Pipeline (pull_request) on every PR to main. 7.0.0 removed check.yml, which reported that check whatever a PR touched. A PR that changes only files outside the units (quality.yml, the README, the root justfile) now starts no ci: workflow, so the check never reports and the PR can never merge.

  • New references/root.yml: one ci: <repo> caller per repo, job CI Pipeline, running unit.yml on . with paths-ignore on the unit directories. It runs only when a PR touches something outside the units, which is exactly when no unit caller reports. Root justfiles are unchanged, so the local just lint test gate still covers every unit.
  • references/root.yml (the per-unit template) is renamed references/unit.yml, and the old references/unit.yml (base image) becomes references/base-image.yml.
  • unit.md states the required-check rule: every caller is a workflow ci: <name> whose calling job is CI Pipeline.

Verified: just lint test passes (497 bats, actionlint over the references). Templates only; no workflow behaviour changes.
Follow-up: each repo adds its ci-<repo>.yml during the v7 migration. telos gets it on project/telos#180.

Session: 3acdb5a2-9a36-4c5c-9d3c-2e7c6ac1b8e3

Branch protection (repo-toolkit, `devops/config` `repo-toolkit/organization.json`) requires `ci: * / CI Pipeline (pull_request)` on every PR to `main`. 7.0.0 removed `check.yml`, which reported that check whatever a PR touched. A PR that changes only files outside the units (`quality.yml`, the README, the root justfile) now starts no `ci:` workflow, so the check never reports and the PR can never merge. - New `references/root.yml`: one `ci: <repo>` caller per repo, job `CI Pipeline`, running `unit.yml` on `.` with `paths-ignore` on the unit directories. It runs only when a PR touches something outside the units, which is exactly when no unit caller reports. Root justfiles are unchanged, so the local `just lint test` gate still covers every unit. - `references/root.yml` (the per-unit template) is renamed `references/unit.yml`, and the old `references/unit.yml` (base image) becomes `references/base-image.yml`. - `unit.md` states the required-check rule: every caller is a workflow `ci: <name>` whose calling job is `CI Pipeline`. Verified: `just lint test` passes (497 bats, actionlint over the references). Templates only; no workflow behaviour changes. Follow-up: each repo adds its `ci-<repo>.yml` during the v7 migration. telos gets it on project/telos#180. Session: 3acdb5a2-9a36-4c5c-9d3c-2e7c6ac1b8e3
docs: a repo-root caller so every PR reports CI Pipeline
All checks were successful
ci: reusable-pipeline / CI Pipeline (pull_request) Successful in 39s
ci: reusable-pipeline / CI Pipeline (push) Successful in 50s
53030b7456
Branch protection requires ci: * / CI Pipeline (pull_request); with
check.yml gone a PR touching no unit started no caller and could never
merge. references/root.yml covers it (paths-ignore on the units);
references/unit.yml and base-image.yml are renamed to what they are.

Session: 3acdb5a2-9a36-4c5c-9d3c-2e7c6ac1b8e3
cjournois deleted branch fix/root-caller 2026-11-03 16:33:21 +00:00
Sign in to join this conversation.
No reviewers
No labels
needs-human
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cjournois/reusable-pipeline!92
No description provided.