Merge pull request #227 from udecode/codex/226-expo-auth-site-url #51
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: Notify Intent | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "www/content/docs/**" | |
| - "packages/kitcn/src/**" | |
| - "packages/kitcn/skills/**" | |
| - ".github/workflows/notify-intent.yml" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| notify: | |
| name: Trigger Skill Review | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 2 | |
| - uses: actions/setup-node@v4 | |
| name: Use Node.js | |
| with: | |
| node-version: 22 | |
| - name: Collect changed files | |
| id: changes | |
| run: | | |
| FILES=$(git diff --name-only HEAD~1 HEAD | jq -R -s -c 'split("\n") | map(select(length > 0))') | |
| echo "files=$FILES" >> "$GITHUB_OUTPUT" | |
| - name: Dispatch skill check | |
| uses: peter-evans/repository-dispatch@v3 | |
| with: | |
| token: ${{ secrets.INTENT_NOTIFY_TOKEN }} | |
| repository: ${{ github.repository }} | |
| event-type: skill-check | |
| client-payload: | | |
| { | |
| "package": "kitcn", | |
| "sha": "${{ github.sha }}", | |
| "changed_files": ${{ steps.changes.outputs.files }} | |
| } |