Skip to content

New-repository checklist and branch protection

Current rule (v2.0.1, 2026-11-13): This checklist states the desired pipeline, not authorisation to provision it now. SW-386 (2026-11-13) defers workflows, CODEOWNERS and branch-protection changes; preserve existing automation. (1A-N35) — supersedes the line above; see docs/current-rules.md#cr-delivery-01.

  1. dev and main branches; main protected (maintainer-only, admins enforced, no force-push).
  2. A PR workflow whose job names are the required checks.
  3. A VERSION file, a version-bump job and a release note per version.
  4. A release workflow that triggers on main, builds the artifacts, tags vX.Y.Z-main.<run>.<sha> and creates the GitHub Release.
  5. .github/CODEOWNERS with * @<maintainer>.
  6. A dependency audit on PRs and weekly.
  7. Secrets and signing keys only in GitHub secrets or environments.

In every SpaceWorks-Labs repository, main and (where it exists) dev are protected: only the maintainer account may push or merge, the rule applies to admins too, and force-pushes and deletion are blocked. Required status checks are the jobs the repository’s pull-request workflow names; adding the missing ones is part of the CI/CD rule in product rules section 14.

Part of Pipelines, versions and releases, published from docs/delivery.md. Edit it there.