build(deps-dev): Bump @types/node from 25.4.0 to 25.5.2 in /packages/agent-os/extensions/mcp-server #487
Workflow file for this run
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: Copilot Auto-Review | |
| on: | |
| pull_request_target: | |
| types: [opened, ready_for_review] | |
| permissions: | |
| pull-requests: write | |
| # SECURITY: pull_request_target runs in BASE context. Never checkout PR head ref. | |
| jobs: | |
| copilot-review: | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| # SECURITY: pull_request_target — no checkout, API-only. Permissions scoped | |
| # to pull-requests:write (minimum needed to request a reviewer). | |
| steps: | |
| - name: Request Copilot Review | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| gh api \ | |
| --method POST \ | |
| -H "Accept: application/vnd.github+json" \ | |
| -H "X-GitHub-Api-Version: 2022-11-28" \ | |
| /repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/requested_reviewers \ | |
| -f "reviewers[]=copilot" || echo "::warning::Could not request Copilot review (expected for fork PRs)" |