docs: prefer requester and HYC over dannyneira for ambient PR reviewer fallback #2806
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build, link-check, audit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Type-check | |
| run: npm run typecheck | |
| - name: Build site | |
| run: npm run build | |
| - name: Check internal links | |
| run: python3 .agents/skills/check_for_broken_links/check_links.py --internal-only | |
| # Stdlib-only tests for the missing_docs skill scripts. The reviewer-resolver | |
| # unit tests run fully here; the audit integration tests skip gracefully | |
| # because the warp/warp-server code repos aren't checked out in docs CI. | |
| - name: Test missing_docs skill scripts | |
| run: | | |
| python3 .agents/skills/missing_docs/scripts/test_suggest_reviewers.py | |
| python3 .agents/skills/missing_docs/scripts/test_audit_docs.py | |
| python3 .agents/skills/missing_docs/scripts/test_check_new_release.py | |
| # Stdlib-only tests for the PR body integrity checker, including the | |
| # feature-summary lead section that drafting PRs must open with. | |
| - name: Test create_pr body checker | |
| run: python3 .agents/skills/create_pr/test_check_pr_body.py | |
| # Extracts the documented reviewer-request bash snippet from SKILL.md and | |
| # runs it against a stubbed gh/suggest_reviewers.py, so CI exercises the | |
| # exact text agents copy rather than a paraphrase of it. | |
| - name: Test create_pr reviewer-request snippet | |
| run: python3 .agents/skills/create_pr/test_request_reviewers.py | |
| # Validate the validate_ui_refs snapshot and script invariants. Uses | |
| # a synthetic warp client fixture internally — no checkout required. | |
| - name: Self-test validate_ui_refs skill | |
| run: python3 .agents/skills/validate_ui_refs/validate_ui_refs.py --self-test | |
| # Production-only audit; gate on high+ so dev-only deprecation chatter | |
| # doesn't break PRs. The `|| true` keeps it informational; tighten this | |
| # to a hard fail once we're confident the noise is gone. | |
| - name: npm audit (production deps) | |
| run: npm audit --omit=dev --audit-level=high || true |