MongoDB Query Optimizer Skill MCP-421 #123
Workflow file for this run
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 Skills | |
| on: | |
| pull_request: | |
| paths: | |
| - "skills/**" | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| # Full history is needed so git diff can compare against the base branch | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: stable | |
| cache: false | |
| - name: Install skill-validator-ent | |
| run: go install github.com/agent-ecosystem/skill-validator-ent/cmd/skill-validator-ent@latest | |
| - name: Validate changed skills | |
| env: | |
| BASE_REF: ${{ github.base_ref }} | |
| run: | | |
| echo "## Changed Skills" >> "$GITHUB_STEP_SUMMARY" | |
| bash .github/scripts/validate-skills.sh "$BASE_REF" | |
| - name: Validate all skills | |
| run: | | |
| echo "## All Skills" >> "$GITHUB_STEP_SUMMARY" | |
| skill-validator-ent check --strict --emit-annotations -o markdown skills/ \ | |
| 2>&1 | tee >(grep -v '^::' >> "$GITHUB_STEP_SUMMARY") |