docs: clarify optionals public metadata #186
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: CI | |
| permissions: | |
| contents: read | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| validate: | |
| name: Validate skill and plugin | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| - name: Setup Tessl CLI | |
| uses: tesslio/setup-tessl@25ec223fc0da33b41b8044ff5ab2b85235f4f91e # v2 | |
| with: | |
| version: "0.82.0" | |
| - name: Validate skill metadata | |
| run: python3 scripts/validate_skill.py skills/java-optionals | |
| - name: Validate eval criteria | |
| run: python3 scripts/validate_eval_criteria.py evals evals-reference evals-regression | |
| - name: Compile validation scripts | |
| run: python3 -m py_compile scripts/*.py | |
| - name: Check shell scripts | |
| run: bash -n scripts/*.sh | |
| - name: Parse JSON files | |
| run: python3 scripts/validate_json_files.py | |
| - name: Validate YAML metadata | |
| run: python3 scripts/validate_openai_agent_yaml.py | |
| - name: Lint Tessl plugin | |
| run: tessl plugin lint . | |
| tessl-dry-run: | |
| name: Tessl publish dry-run | |
| if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| - name: Check Tessl token | |
| id: tessl-token | |
| env: | |
| TESSL_TOKEN: ${{ secrets.TESSL_TOKEN }} | |
| run: scripts/check_tessl_token_available.sh | |
| - name: Setup Tessl CLI | |
| if: ${{ steps.tessl-token.outputs.available == 'true' }} | |
| uses: tesslio/setup-tessl@25ec223fc0da33b41b8044ff5ab2b85235f4f91e # v2 | |
| with: | |
| version: "0.82.0" | |
| token: ${{ secrets.TESSL_TOKEN }} | |
| - name: Check fast publish dry-run | |
| if: ${{ steps.tessl-token.outputs.available == 'true' }} | |
| run: bash scripts/check_publish_dry_run.sh . | |
| - name: Check eval publish dry-run | |
| if: ${{ steps.tessl-token.outputs.available == 'true' }} | |
| run: tessl plugin publish --dry-run --bump patch . |