Commit e2b26d3
fix: remove --depth=1 from SublibraryCI base branch fetch
The detect-changes job fails with "fatal: origin/master...HEAD: no merge
base" on fork PRs because `git fetch origin master --depth=1` only
retrieves a single commit of master history. This is insufficient for
Git to compute the merge base needed by the three-dot diff.
Remove the --depth=1 flag so the full base branch history is fetched,
matching the fetch-depth: 0 already set on checkout.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 9539ed3 commit e2b26d3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments