Repository navigation
feat: add rule-out blocks to every decision-tree branch #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Validate skill | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 | |
| with: | |
| node-version: 22 | |
| - name: Validate skills.sh discovery | |
| shell: bash | |
| run: | | |
| set -o pipefail | |
| npx --yes skills@1.5.23 add . --list | tee /tmp/skills-list.txt | |
| perl -pe 's/\e\[[0-9;]*[A-Za-z]//g' /tmp/skills-list.txt > /tmp/skills-list-plain.txt | |
| grep -q "Found 1 skill" /tmp/skills-list-plain.txt | |
| grep -q "diagnose-system-performance" /tmp/skills-list-plain.txt | |
| - name: Validate installer syntax | |
| run: sh -n scripts/install.sh |