Strip maister: prefix from copilot skill names instead of replacing w… #11
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: Build Copilot CLI Variant | |
| on: | |
| push: | |
| branches: [master, v2] | |
| paths: ['plugins/maister/**', 'platforms/**'] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Copilot CLI variant | |
| run: make build | |
| - name: Validate build | |
| run: make validate | |
| - name: Commit if changed | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add plugins/maister-copilot/ | |
| git diff --cached --quiet || git commit -m "Rebuild Copilot CLI variant" | |
| git push |