9c69621d89
- Move generated source-links.md into packages/kilo-docs/ so the existing docs link-checker (docs-check-links.yml) validates URLs - Add --check flag to extract-source-links.ts for CI freshness check - Replace lychee step in source-check-links.yml with freshness check - Merge source-link exclusions into packages/kilo-docs/lychee.toml - Remove standalone source-links-lychee.toml (no longer needed) - Remove source-links.md from .gitignore (file is now committed) - Add source code path triggers to docs-check-links.yml
25 lines
657 B
YAML
25 lines
657 B
YAML
name: Check Source Links
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "packages/kilo-vscode/src/**"
|
|
- "packages/kilo-vscode/webview-ui/**"
|
|
- "packages/opencode/src/**"
|
|
- "packages/kilo-docs/source-links.md"
|
|
- "script/extract-source-links.ts"
|
|
- ".github/workflows/source-check-links.yml"
|
|
workflow_dispatch: # Allow manual trigger
|
|
|
|
jobs:
|
|
source-links-freshness:
|
|
if: github.repository == 'Kilo-Org/kilocode'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: oven-sh/setup-bun@v2
|
|
|
|
- name: Check source-links.md is up to date
|
|
run: bun run script/extract-source-links.ts --check
|