fix(provenance): validate curated skill hashes (#19) #41
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
| # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
| name: Validate Skills | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'skills/**' | |
| - 'scripts/**' | |
| - '.github/workflows/validate-skills.yml' | |
| - 'lefthook.yml' | |
| - 'Makefile' | |
| - 'CONTRIBUTING.md' | |
| - 'README.md' | |
| pull_request: | |
| paths: | |
| - 'skills/**' | |
| - 'scripts/**' | |
| - '.github/workflows/validate-skills.yml' | |
| - 'lefthook.yml' | |
| - 'Makefile' | |
| - 'CONTRIBUTING.md' | |
| - 'README.md' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| validate: | |
| name: Validate Agent Skills Repository | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up Python | |
| uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 | |
| with: | |
| python-version: '3.14' | |
| - name: Validate repository skills | |
| run: ./scripts/validate-skills.sh |