bcquality/.github/workflows/knowledge-index.yml
2026-08-12 15:26:34 -04:00

24 lines
754 B
YAML

name: Validate knowledge index
# BCQuality owns the knowledge-index generator (tools/Build-KnowledgeIndex.ps1),
# which the AL review skills' Source step consumes. This guards the generator's
# health so consumers never have to: the index a consumer uses at runtime is
# rebuilt over its own pruned clone, but the generator that builds it lives and
# is validated here.
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
validate-index:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Validate knowledge-index generator
shell: pwsh
run: ./.github/scripts/Test-KnowledgeIndex.ps1 -Root .