Allow Modrinth agent handoff file convention
This commit is contained in:
@@ -21,7 +21,6 @@ jobs:
|
||||
missing=0
|
||||
|
||||
required_files=(
|
||||
"AGENTS.md"
|
||||
".codex/project.md"
|
||||
"README.md"
|
||||
)
|
||||
@@ -32,6 +31,11 @@ jobs:
|
||||
"docs/agent-handoff.md"
|
||||
)
|
||||
|
||||
if [ ! -e "AGENTS.md" ] && [ ! -f "CLAUDE.md" ]; then
|
||||
echo "Missing required Codex agent file: AGENTS.md or CLAUDE.md"
|
||||
missing=1
|
||||
fi
|
||||
|
||||
for file in "${required_files[@]}"; do
|
||||
if [ ! -f "$file" ]; then
|
||||
echo "Missing required Codex file: $file"
|
||||
|
||||
Reference in New Issue
Block a user