mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-01 19:42:03 +00:00
- New docs.yml: runs `mint validate` and `mint broken-links` on docs/** changes - ci.yml: paths-ignore docs/**, *.md so build/typecheck/tests don't run on docs-only PRs - regression.yml: same paths-ignore to skip Docker regression tests on docs-only PRs No branch protection is configured, so paths-ignore won't block merges. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
36 lines
631 B
YAML
36 lines
631 B
YAML
name: Docs
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "docs/**"
|
|
- "DOCS_GUIDELINES.md"
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- "docs/**"
|
|
|
|
concurrency:
|
|
group: docs-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
validate:
|
|
name: Validate docs
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
|
|
- name: Validate build
|
|
working-directory: docs
|
|
run: npx mint validate
|
|
|
|
- name: Check broken links
|
|
working-directory: docs
|
|
run: npx mint broken-links
|