File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : PR Review with MCP
2+
3+ on :
4+ pull_request :
5+ types : [opened, synchronize, reopened]
6+
7+ permissions :
8+ contents : read
9+ pull-requests : write # necesario para comentar en el PR
10+
11+ jobs :
12+ pr-validation :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ # Validación de código con Copilot MCP
18+ - name : Copilot Code Review
19+ run : |
20+ copilot-mcp review . \
21+ --agent copilot-code-reviewer \
22+ --output-format github-pr-comment
23+
24+ # Validación de infraestructura con Codex MCP
25+ - name : Codex Infra Review
26+ run : |
27+ codex-mcp validate infrastructure/ \
28+ --agent infrastructure-configuration-validator \
29+ --output-format github-pr-comment
30+
31+ # Validación de seguridad con MCP
32+ - name : Security Review
33+ run : |
34+ copilot-mcp analyze security/ \
35+ --agent copilot-security-reviewer \
36+ --output-format github-pr-comment
You can’t perform that action at this time.
0 commit comments