mirror of
https://github.com/contentful/skills.git
synced 2026-09-14 20:17:03 +08:00
dd8c504216
Runs quick_validate.py against all distributable skills before the discoverability check. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
640 B
YAML
24 lines
640 B
YAML
name: Validate Skills
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
|
with:
|
|
node-version-file: ".nvmrc"
|
|
|
|
- name: Validate skill frontmatter
|
|
run: python3 .agents/skills/skill-authoring/scripts/quick_validate.py skills --all
|
|
|
|
- name: Verify skills are discoverable
|
|
run: npx -y skills add . --list --full-depth 2>&1 | tee /dev/stderr | grep -q "Found"
|