Skip to content

build(layout): add repo-type marker convention and fail-closed CI guard#22

Merged
NWarila merged 1 commit into
mainfrom
build/layout-marker
Jun 25, 2026
Merged

build(layout): add repo-type marker convention and fail-closed CI guard#22
NWarila merged 1 commit into
mainfrom
build/layout-marker

Conversation

@NWarila

@NWarila NWarila commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Summary

Adds the module-layout sentinel and the independent CI guard that fails closed unless exactly one repo layout marker exists.

Changes

  • Adds empty .github/.module as the module-layout marker.
  • Allowlists .github/.script and .github/.module in the deny-all .gitignore.
  • Removes .github/ export-ignore so the marker is included in source archives.
  • Adds a standalone layout-marker CI job that validates exactly one marker.

Validation

  • git check-ignore -v .github/.module
  • git ls-files .github/.module
  • git archive HEAD | tar -t | grep -F '.github/.module'
  • Git Bash marker guard check returned marker count=1
  • powershell -NoProfile -ExecutionPolicy Bypass -File C:\tmp\run-psscriptanalyzer.ps1
  • powershell -NoProfile -ExecutionPolicy Bypass -File .\tests\Invoke-Tests.ps1 -MinimumCoverage 80
  • git log origin/main..HEAD --name-only

@NWarila NWarila merged commit f8ea48c into main Jun 25, 2026
5 checks passed
@NWarila NWarila deleted the build/layout-marker branch June 25, 2026 14:29
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