mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-11-25 21:54:35 +01:00
Run plugins/shannon/scripts/sync-docs.sh --check on pull requests and pushes to main that touch llms.txt, llms-full.txt or the bundled copies in skills/shannon/references/. In Actions, a mismatch or missing copy is reported as an error annotation on the bundled file. This is the check Ezhil drafted in 4afb058 and dropped from #524 before review, updated for the new location of the bundled docs.
34 lines
843 B
YAML
34 lines
843 B
YAML
name: Plugin documentation sync
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- llms.txt
|
|
- llms-full.txt
|
|
- plugins/shannon/skills/shannon/references/**
|
|
- plugins/shannon/scripts/sync-docs.sh
|
|
- .github/workflows/plugin-docs-check.yml
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- llms.txt
|
|
- llms-full.txt
|
|
- plugins/shannon/skills/shannon/references/**
|
|
- plugins/shannon/scripts/sync-docs.sh
|
|
- .github/workflows/plugin-docs-check.yml
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
check:
|
|
name: Check bundled documentation
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- name: Compare bundled docs with root originals
|
|
run: bash plugins/shannon/scripts/sync-docs.sh --check
|