Skip to content

fix(ci): remove token requirement from Docs Sync Guardrails (all repo… #42

fix(ci): remove token requirement from Docs Sync Guardrails (all repo…

fix(ci): remove token requirement from Docs Sync Guardrails (all repo… #42

name: Docs Sync Guardrails
on:
push:
paths:
- "docs/**"
- "scripts/sync-ecosystem-docs.mjs"
- "scripts/check-docs-sync.sh"
- "scripts/check-docs-nav-contract.mjs"
- "scripts/check-release-doc-readiness.sh"
- "scripts/check-public-docs.sh"
- "app/docs/layout.tsx"
- "package.json"
- ".github/workflows/docs-sync-guardrails.yml"
pull_request:
paths:
- "docs/**"
- "scripts/sync-ecosystem-docs.mjs"
- "scripts/check-docs-sync.sh"
- "scripts/check-docs-nav-contract.mjs"
- "scripts/check-release-doc-readiness.sh"
- "scripts/check-public-docs.sh"
- "app/docs/layout.tsx"
- "package.json"
- ".github/workflows/docs-sync-guardrails.yml"
jobs:
validate-docs-sync:
runs-on: ubuntu-latest
steps:
- name: Checkout web repo
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- name: Clone canonical ecosystem workspace
run: |
WORKSPACE="$RUNNER_TEMP/agentra-workspace"
# Clone monorepo (public) — contains workspace-level docs
git clone --depth 1 https://github.com/agentralabs/agentralabs-tech.git "$WORKSPACE"
# Clone all sister repos (public) into workspace
for repo in agentic-memory agentic-vision agentic-codebase agentic-identity agentic-time; do
git clone --depth 1 "https://github.com/agentralabs/${repo}.git" "$WORKSPACE/${repo}"
done
echo "Workspace contents:"
ls "$WORKSPACE"/
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Validate docs sync contract
run: AGENTRA_WORKSPACE_ROOT="$RUNNER_TEMP/agentra-workspace" pnpm docs:sync:check
- name: Public docs quality guardrail
run: ./scripts/check-public-docs.sh