Files
portfolio-next/.gitea/workflows/agent-docs.yml
T
2026-11-09 07:06:19 +01:00

23 lines
657 B
YAML

name: agent-docs
on:
push:
pull_request:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Agent docs exist
run: |
for f in AGENTS.md CLAUDE.md GEMINI.md PRODUCT.md DESIGN.md docs/ARCHITECTURE.md docs/DECISIONS.md \
docs/TODO.md docs/PERMISSIONS.md docs/CONTENT-CONTRACT.md docs/DEPLOY.md docs/specs/README.md docs/plans/README.md; do
test -f "$f" || { echo "missing: $f"; exit 1; }
done
- name: AGENTS.md under 150 lines
run: |
n=$(wc -l < AGENTS.md)
echo "AGENTS.md: $n lines"
test "$n" -le 150