Harden against Windows-breaking symlinks (follow-up to #203) #87
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-repository-metadata | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| validate-repository-metadata: | |
| name: validate-repository-metadata | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: setup-node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: validate-open-plugin-names | |
| run: node scripts/validate-plugin-names.js | |
| - name: validate-legacy-compatibility | |
| run: node scripts/validate-legacy-compatibility.js | |
| # Runs the script against the real repo above; this exercises its | |
| # symlink-rejection / mirror-drift logic against fixture trees so the guard | |
| # can't silently rot. ubuntu runner creates symlinks, so no cases are skipped. | |
| - name: validate-legacy-compatibility-tests | |
| run: node --test scripts/tests/ | |
| - name: validate-skill-descriptions | |
| run: node scripts/validate-skill-descriptions.js |