Skip to content

Commit f0e6672

Browse files
authored
Add plugin sync check to CI (#36)
Validates that .claude-plugin/ and .cursor-plugin/ are in sync with .plugin/plugin.json by running generate_plugin.py --check.
1 parent 1397e01 commit f0e6672

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ on:
77
branches: [main]
88

99
jobs:
10+
validate-plugin:
11+
name: Validate Plugin
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
steps:
16+
- uses: actions/checkout@v6
17+
18+
- name: Valideer plugin.json
19+
run: python3 -c "import json; json.load(open('.plugin/plugin.json'))"
20+
21+
- name: Controleer plugin sync
22+
run: python3 scripts/generate_plugin.py --check
23+
1024
shellcheck:
1125
name: ShellCheck
1226
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)