Commit e980e5d
fix(ci): add fetch-depth:0 so origin/main available for PR diff
Shallow checkout (depth=1) means origin/main isn't fetched and HEAD~1
doesn't exist — git diff exits 128, failing the detect step.
With fetch-depth:0 all history is present so origin/main...HEAD works.
Also switch fallback to echo "" so it degrades to @smoke not a hard fail.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent b2476d8 commit e980e5d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
194 | 195 | | |
195 | 196 | | |
196 | 197 | | |
197 | | - | |
| 198 | + | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| |||
0 commit comments