Commit 2798533
Fix diff-cover no-merge-base error by fetching full git history
GitHub Actions shallow clone (fetch-depth: 1) prevented diff-cover from
finding the common ancestor between HEAD and origin/main. Setting
fetch-depth: 0 fetches the full history so diff-cover can compute the
merge base correctly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent bafdfbb commit 2798533
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
0 commit comments