555e282cc4
ci / changelog_check (push) Waiting to run
ci / check_changes (push) Waiting to run
ci / build_mem0 (3.10) (push) Blocked by required conditions
ci / build_mem0 (3.11) (push) Blocked by required conditions
ci / build_mem0 (3.12) (push) Blocked by required conditions
CLI Node CI / lint (push) Waiting to run
CLI Node CI / test (20) (push) Waiting to run
CLI Node CI / test (22) (push) Waiting to run
CLI Node CI / build (push) Waiting to run
CLI Python CI / lint (push) Waiting to run
CLI Python CI / test (3.10) (push) Waiting to run
CLI Python CI / test (3.11) (push) Waiting to run
CLI Python CI / test (3.12) (push) Waiting to run
CLI Python CI / build (push) Waiting to run
openclaw checks / lint (push) Waiting to run
openclaw checks / test (20) (push) Waiting to run
openclaw checks / test (22) (push) Waiting to run
openclaw checks / build (push) Waiting to run
opencode-plugin checks / build (push) Waiting to run
pi-agent-plugin checks / lint (push) Waiting to run
pi-agent-plugin checks / test (20) (push) Waiting to run
pi-agent-plugin checks / test (22) (push) Waiting to run
pi-agent-plugin checks / build (push) Waiting to run
TypeScript SDK CI / check_changes (push) Waiting to run
TypeScript SDK CI / changelog_check (push) Blocked by required conditions
TypeScript SDK CI / build_ts_sdk (20) (push) Blocked by required conditions
TypeScript SDK CI / build_ts_sdk (22) (push) Blocked by required conditions
TypeScript SDK CI / integration_ts_sdk (20) (push) Blocked by required conditions
TypeScript SDK CI / integration_ts_sdk (22) (push) Blocked by required conditions
43 lines
1.7 KiB
YAML
43 lines
1.7 KiB
YAML
name: docs - llms.txt check
|
|
|
|
# Blocks PRs that introduce new .mdx pages without a matching entry in
|
|
# docs/llms.txt, or that link to pages that no longer exist. Contributors
|
|
# must update docs/llms.txt in the same PR. Run locally with:
|
|
# python scripts/check-llms-txt-coverage.py # read-only
|
|
# python scripts/check-llms-txt-coverage.py --write # scaffold placeholders
|
|
|
|
# On PRs this is invoked by ci-gate.yml (the single required check);
|
|
# manual runs remain standalone.
|
|
on:
|
|
workflow_call:
|
|
workflow_dispatch: {}
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
check-llms-txt:
|
|
runs-on: ubuntu-24.04-arm
|
|
timeout-minutes: 2
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Verify docs/llms.txt coverage
|
|
run: |
|
|
if ! python3 scripts/check-llms-txt-coverage.py; then
|
|
echo ""
|
|
echo "::error title=llms.txt out of sync::docs/llms.txt does not match docs/**/*.mdx."
|
|
echo ""
|
|
echo "To fix:"
|
|
echo " 1. Run locally: python scripts/check-llms-txt-coverage.py --write"
|
|
echo " This appends placeholder entries under '## Unclassified - needs triage'."
|
|
echo " 2. For each placeholder:"
|
|
echo " - replace [TODO: Platform|OSS|Both] with the correct scope tag"
|
|
echo " - rewrite the description as 'Use when ...'"
|
|
echo " - move the entry into the appropriate section"
|
|
echo " - delete the '## Unclassified - needs triage' heading once empty"
|
|
echo " 3. Resolve any stale URLs listed above by updating or removing the link."
|
|
echo " 4. Commit the updated docs/llms.txt to this PR."
|
|
exit 1
|
|
fi
|