Commit 80ea92e
committed
Add fetch-depth: 0 to check-format checkout for spotless ratchet
The spotless maven plugin uses git ratchet mode to compare against
origin/master. With checkout@v6's default shallow clone, origin/master
is not available, causing the format check to fail.
Adding fetch-depth: 0 to the check-format job ensures the full git
history is cloned including origin/master reference.1 parent f334446 commit 80ea92e
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
0 commit comments