Harden public skill packaging #3
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: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Validate package | |
| run: python3 scripts/validate_skill.py | |
| - name: Build release archive | |
| run: python3 scripts/package_skill.py | |
| - name: Verify archive layout | |
| run: unzip -l dist/startup-problem-finder.zip | grep "startup-problem-finder/SKILL.md" |