ci(check_tarball): refuse AGENTS.md at any depth
An AGENTS.md under roles/ holds contributor rules; shipped in the Collection, a consumer's agent reading an installed role would load them. galaxy.yml build_ignore lists the current ones, and the archive check now refuses any AGENTS.md, compared case-insensitively, as the allow list behind that deny list. A root AGENTS.md was already refused by ALLOWED_TOP. Refs: #244 Assisted-by: Claude Code
This commit is contained in:
1 parent
b232887153
commit
35e780cf79
2 files changed
+18
No files matched your search
@@ -89,6 +89,8 @@ FORBIDDEN = [
|
||||
"*.env.*",
|
||||
"*/.env*",
|
||||
".env*",
|
||||
# Contributor rules: a consumer's agent reading an installed role would load them.
|
||||
"*/agents.md",
|
||||
]
|
||||
# Names Windows treats as devices, with or without an extension (and with trailing spaces).
|
||||
WINDOWS_RESERVED = {
|
||||
|
||||
Reference in new issue
Block a user