-
Notifications
You must be signed in to change notification settings - Fork 0
107 lines (98 loc) · 3.01 KB
/
Copy pathruntime-plugin-validate.yml
File metadata and controls
107 lines (98 loc) · 3.01 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
name: Runtime plugin validation
# Pull Request では絞り込まずに常に起動する。ブランチの ruleset が必須にする検査は、
# 変更の種類にかかわらず結果を返す必要がある。GitHub は paths で除外された実行を
# 「成功」ではなく「実行されていない」として扱うため、絞り込んだままだと対象外の変更で
# マージ可能にならない。push の側は絞り込みを残す(マージの可否を決めないため)
on:
pull_request:
push:
branches:
- main
- develop
- "release/**"
paths:
- ".claude-plugin/**"
- ".github/workflows/runtime-plugin-validate.yml"
- ".githooks/**"
- ".ndf/**"
- "AGENTS.md"
- "CHANGELOG.md"
- "CLAUDE.md"
- "KIRO.md"
- "README.md"
- "docs/**"
- "issues/**"
- "plugins/**"
- "scripts/**"
jobs:
runtime-plugin-build-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: bash scripts/build-runtime-plugins.sh --check
skill-frontmatter-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: python3 scripts/check-skill-frontmatter.py
skill-repo-assumptions-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: python3 scripts/check-skill-repo-assumptions.py
skill-shell-vars-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: python3 scripts/check-skill-shell-vars.py
runtime-plugin-validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: npm install -g @anthropic-ai/claude-code
- run: bash scripts/validate-runtime-plugins.sh
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: python3 scripts/check-markdown-links.py --root .
doc-line-limit-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: python3 scripts/check-doc-line-limit.py --root .
instruction-files-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: python3 plugins/ndf/scripts/instructions-check.py --root .