docs: a repo-root caller so every PR reports CI Pipeline #92
No reviewers
Labels
No labels
needs-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cjournois/reusable-pipeline!92
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/root-caller"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Branch protection (repo-toolkit,
devops/configrepo-toolkit/organization.json) requiresci: * / CI Pipeline (pull_request)on every PR tomain. 7.0.0 removedcheck.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 noci:workflow, so the check never reports and the PR can never merge.references/root.yml: oneci: <repo>caller per repo, jobCI Pipeline, runningunit.ymlon.withpaths-ignoreon 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 localjust lint testgate still covers every unit.references/root.yml(the per-unit template) is renamedreferences/unit.yml, and the oldreferences/unit.yml(base image) becomesreferences/base-image.yml.unit.mdstates the required-check rule: every caller is a workflowci: <name>whose calling job isCI Pipeline.Verified:
just lint testpasses (497 bats, actionlint over the references). Templates only; no workflow behaviour changes.Follow-up: each repo adds its
ci-<repo>.ymlduring the v7 migration. telos gets it on project/telos#180.Session: 3acdb5a2-9a36-4c5c-9d3c-2e7c6ac1b8e3