Skip to content

ci: repo structure-lock#26

Merged
ahmetabdullahgultekin merged 1 commit into
mainfrom
feat/repo-structure-lock
Jun 13, 2026
Merged

ci: repo structure-lock#26
ahmetabdullahgultekin merged 1 commit into
mainfrom
feat/repo-structure-lock

Conversation

@ahmetabdullahgultekin

Copy link
Copy Markdown
Contributor

What

Adds a repo structure-lock gate, mirroring the FIVUCSAS umbrella pilot (Rollingcat-Software/FIVUCSAS#209). Additive-only — three new files, no source/config changes:

  • .repo-structure.yml — freezes the current root file/dir layout (allowlists frozen from origin/main, so the check is GREEN on current state) and forbids future dated tracking-doc clutter at root (audits/reviews/sessions/TODO/ROADMAP). Dated/sectioned content continues to live in the numbered subdirectories, not the root.
  • .github/workflows/structure-check.yml — thin caller of the org reusable workflow Rollingcat-Software/.github/.github/workflows/repo-structure.yml@main; produces the check repo-structure / structure-check.
  • .pre-commit-config.yaml — new (no prior config); gitleaks + the repo-structure local hook for fast local feedback.

Why

Keeps the repo root clean — tracking content belongs in GitHub issues, not stray dated *.md files at root.

Owner follow-up

The owner adds the additive ruleset / required status check (repo-structure / structure-check) to branch protection to make this blocking.

Mirrors the FIVUCSAS umbrella pilot (Rollingcat-Software/FIVUCSAS#209): freezes
the current root file/dir layout and adds the structure-check CI gate. Owner
adds the additive ruleset / required check afterward to make it blocking.
@ahmetabdullahgultekin ahmetabdullahgultekin merged commit 5e4bfdf into main Jun 13, 2026
2 checks passed
@ahmetabdullahgultekin ahmetabdullahgultekin deleted the feat/repo-structure-lock branch June 13, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant