-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (41 loc) · 1.04 KB
/
Copy pathvalidate-plugin.yml
File metadata and controls
50 lines (41 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Validate Cursor Plugin
on:
push:
branches: [main]
pull_request:
branches: [main]
paths:
- ".cursor-plugin/**"
- ".github/**"
- "assets/**"
- "commands/**"
- "mcp.json"
- "README.md"
- "rules/**"
- "scripts/**"
- "skills/**"
- "LICENSE"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
validate:
name: Validate plugin
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Validate plugin structure
run: node scripts/validate-plugin.mjs
- name: Verify bundled skill is current
run: node scripts/sync-skill.mjs --check
- name: Check production MCP and OAuth discovery
run: node scripts/check-mcp-oauth.mjs