Repository navigation
Skill Integration #6
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: Skill Integration | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - ".github/prompts/**" | |
| - ".github/workflows/skill-integration.yml" | |
| - ".github/scripts/validate-skill-response.sh" | |
| - "resources/boost/skills/**" | |
| schedule: | |
| - cron: "0 6 * * 1" | |
| permissions: | |
| contents: read | |
| models: read | |
| jobs: | |
| skill-tests: | |
| if: false # Disabled until GitHub Models 403 is fixed | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| max-parallel: 5 | |
| matrix: | |
| skill: | |
| - general | |
| - helperfunctions | |
| - models | |
| - controllers | |
| - migrations | |
| - routing | |
| - formrequests | |
| - actions | |
| - commands | |
| - dto | |
| - enums | |
| - events | |
| - exceptions | |
| - helpers | |
| - interfaces | |
| - jobs | |
| - middleware | |
| - observers | |
| - policies | |
| - requests | |
| - resources | |
| - services | |
| - traits | |
| - blade | |
| - design | |
| - livewire | |
| - tailwind | |
| - translations | |
| - phpunit | |
| - pesttesting | |
| - phpstan | |
| - dusk | |
| - php | |
| - saloon | |
| - docuware | |
| - albatros | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Prepare skill content | |
| run: | | |
| cp "resources/boost/skills/${{ matrix.skill }}/SKILL.md" /tmp/skill-content.txt | |
| - name: Test ${{ matrix.skill }} skill | |
| id: infer | |
| uses: actions/ai-inference@v2 | |
| with: | |
| token: ${{ secrets.MY_GITHUB_TOKEN }} | |
| endpoint: https://models.github.ai/orgs/${{ github.repository_owner }}/inference | |
| model: openai/gpt-4o-mini | |
| prompt-file: .github/prompts/${{ matrix.skill }}.prompt.yml | |
| file_input: | | |
| skill_content: /tmp/skill-content.txt | |
| - name: Validate response | |
| run: | | |
| chmod +x .github/scripts/validate-skill-response.sh | |
| .github/scripts/validate-skill-response.sh "${{ matrix.skill }}" "${{ steps.infer.outputs.response }}" |