-
Notifications
You must be signed in to change notification settings - Fork 22
54 lines (49 loc) · 1.42 KB
/
ci.yml
File metadata and controls
54 lines (49 loc) · 1.42 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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
markdown-links:
name: markdown-link-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check markdown links
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
config-file: '.github/markdown-link-check.json'
folder-path: '.'
use-quiet-mode: 'yes'
check-modified-files-only: 'yes'
base-branch: 'main'
yaml-lint:
name: yamllint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install yamllint
run: pip install yamllint
- name: Run yamllint
run: yamllint -c .github/yamllint.yml templates/ benchmarks/ skills/
skill-frontmatter:
name: skill frontmatter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install deps
run: pip install pyyaml
- name: Validate every SKILL.md frontmatter
run: python .github/scripts/validate_skills.py
prettier-check:
name: prettier (soft)
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Prettier check (advisory only)
run: npx -y prettier --check "**/*.md" || echo "::warning::prettier formatting drift (non-blocking)"