Repository navigation
Commit fe56305
committed
[fix](build) Fix license check diff in shallow clones
### What problem does this PR solve?
Issue Number:
Related PR: apache#62410
Problem Summary: License Check falls back to full-repo scan when git diff fails under shallow fetch, causing unrelated pre-existing files to fail the PR. Fetch full history for PR head and base to reliably generate incremental config.
### Release note
None
### Check List (For Author)
- Test: No need to test (GitHub Actions)
- Behavior changed: No
- Does this need documentation: No1 parent 0f29f35 commit fe56305
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
53 | | - | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
0 commit comments