add a new skill #16
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 and update skills catalog | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ "main" ] | |
| paths: | |
| - ".claude/skills/**.md" | |
| - "skills_catalog.xsl" | |
| permissions: read-all | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install system requirements | |
| run: sudo apt-get update -y && sudo apt-get install -y dos2unix xsltproc | |
| - name: Execute tests script | |
| run: dos2unix ci.sh; chmod +x ci.sh; bash ci.sh | |
| - name: Set up Git user | |
| run: git config --global user.email "gha@github.com"; git config --global user.name "GHActionBot" | |
| - name: Commit update | |
| run: git commit -m "Sync the skills catalog" skills_catalog.xml ci.sh docs/index.html docs/skills.zip; git push |