summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMatt Pocock <mattpocockvoice@gmail.com>2026-11-19 13:34:58 +0000
committerGitHub <noreply@github.com>2026-11-19 13:34:58 +0000
commitabeeaf95660ba9e8b7c753eb38f441ca707a8823 (patch)
treeb26c597d4a8dd96a70e4823ff9a3f0b9447d9bcf /.github
parent3a05171775a49076900759e0dd1b3ef8e2671323 (diff)
parent37209058e45b7c60b36218b7392df0ebcceb247a (diff)
Merge pull request #1455 from mattpocock/ci-frontmatter-checkHEADmain
ci: check every SKILL.md's frontmatter parses with the installer's YAML parser
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/check.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
new file mode 100644
index 0000000..6c19e6b
--- /dev/null
+++ b/.github/workflows/check.yml
@@ -0,0 +1,28 @@
+name: Check
+
+on:
+ pull_request:
+ push:
+ branches:
+ - main
+
+jobs:
+ frontmatter:
+ name: SKILL.md frontmatter
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: 22
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Check frontmatter
+ run: npm run check-frontmatter