Commit a229317
ci: full history checkout and explicit MCP context for review agent
Shallow clone (depth=1) prevented git diff/log/merge-base from working.
Agent couldn't read env vars for PR context due to tool permission
restrictions. Now fetches full history and instructs agent to use MCP
GitHub tools for PR metadata, passing context explicitly to sub-agents.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e911fd6 commit a229317
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
| |||
0 commit comments