ci: refuse CLAUDE.md in any letter case and keep .apm-local out of the build #333

Merged
Defame1297 merged 4 commits from ci/refuse-claude-md-any-case into main 2026-11-23 20:33:04 +00:00
4 Commits
Author SHA1 Message Date
Defame1297 5abf42c6c4 Merge branch 'main' into ci/refuse-claude-md-any-case
Build / build (pull_request) Successful in 14s
Molecule / molecule (pull_request) Successful in 14m37s
Lint / lint (pull_request) Successful in 1m46s
2026-11-23 20:15:15 +00:00
Defame1297 f21a535a87 Merge branch 'main' into ci/refuse-claude-md-any-case
Build / build (pull_request) Canceled after 0s
Molecule / molecule (pull_request) Canceled after 0s
Lint / lint (pull_request) Canceled after 1m28s
2026-11-23 20:08:31 +00:00
Defame1297 cca31f44a1 build(galaxy): keep .apm-local out of the Collection build
Lint / lint (pull_request) Canceled after 0s
Molecule / molecule (pull_request) Canceled after 0s
Build / build (pull_request) Canceled after 3s
.apm-local/ is apm's local state directory and ignores itself through its
own .gitignore, so a local ansible-galaxy collection build copied it into
the archive, where check_tarball.py rejects it as a disallowed top-level
entry.

Assisted-by: Claude Code
2026-11-23 19:58:57 +00:00
Defame1297 4f29901a80 ci(pre-commit): refuse CLAUDE.md in any letter case
The refuse-claude-md pattern was case-sensitive, so claude.md or CLAUDE.MD
passed it, yet a case-insensitive file system serves either as CLAUDE.md.
Match with the inline (?i) flag. The hook config is a ci image input, so
the ci image moves from 0.2.37 to 0.2.38.

Assisted-by: Claude Code
2026-11-23 19:58:50 +00:00