Merge pull request 'ci: refuse CLAUDE.md in any letter case and keep .apm-local out of the build' (#333) from ci/refuse-claude-md-any-case into main
Molecule / molecule (push) Canceled after 0s
Lint / lint (push) Canceled after 0s
Build / build (push) Successful in 14s
Images / image (Dockerfile, ubuntu:24.04@sha256:9c7f200c07e3d4a03e7249d2c16bf66a51120fb876aa2242cf31451412543289, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.9) (push) Successful in 9s
Images / image (Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.5) (push) Successful in 34s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, ci, , 0.2.38) (push) Successful in 4m36s

Reviewed-on: #333
Reviewed-by: Defame1297 <[email protected]>
This commit was merged in pull request #333.
This commit is contained in:
Defame1297 committed 2026-11-23 20:33:04 +00:00
commit 567c3d2f22
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ jobs:
dockerfile: Dockerfile
job_image: ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db
- name: ci
version: 0.2.37
version: 0.2.38
subpath: ""
dockerfile: images/ci/Dockerfile
job_image: ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db
+3 -2
View File
@@ -130,10 +130,11 @@ repos:
# the failure is silent: the agent gets no guidance and no error.
- id: refuse-claude-md
name: Refuse CLAUDE.md files
description: refuse CLAUDE.md, CLAUDE.local.md and .claude/CLAUDE.md at any depth
description: refuse CLAUDE.md, CLAUDE.local.md and .claude/CLAUDE.md at any depth, in any case
entry: a CLAUDE.md file makes Claude Code ignore every AGENTS.md; delete it
language: fail
files: (^|/)(\.claude/)?CLAUDE(\.local)?\.md$
# Any letter case: a case-insensitive file system serves claude.md as CLAUDE.md.
files: (?i)(^|/)(\.claude/)?claude(\.local)?\.md$
stages: ['pre-commit']
- repo: meta
+1
View File
@@ -31,6 +31,7 @@ build_ignore:
- apm.yml
- apm.lock.yaml
- apm_modules
- .apm-local
- .claude
- .gitea
- .gitignore