Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,34 @@ jobs:

- name: Build
run: npm run build

sync:
name: Generated files in sync
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 24

- name: Regenerate agent rules and platform skills
run: |
bash scripts/sync-agent-rules.sh
node scripts/sync-skills.mjs

- name: Verify generated files are committed
run: |
if ! git diff --quiet; then
echo "::error::Generated files are out of sync with their sources (AGENTS.md / SKILL.md)."
echo "Run the sync scripts locally and commit the result:"
echo " bash scripts/sync-agent-rules.sh"
echo " node scripts/sync-skills.mjs"
git diff --stat
exit 1
fi
echo "All generated files are in sync with their sources."