-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 794 Bytes
/
Copy pathci.yml
File metadata and controls
36 lines (30 loc) · 794 Bytes
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
name: CI
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate required files
run: |
test -f README.md
test -f LICENSE
test -f SECURITY.md
test -f CONTRIBUTING.md
test -f SKILL.md
test -f scripts/validate-skill.mjs
- name: Check Markdown is non-empty
run: |
for file in README.md SECURITY.md CONTRIBUTING.md SKILL.md; do
test -s "$file"
done
- name: Validate skill package
run: node scripts/validate-skill.mjs