You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: fix Scalpel fetch failure in shallow CI clones
Pre-fetch the base branch using git CLI in the workflow instead of
relying on Scalpel's JGit fetchBaseBranch=true. JGit's FetchCommand
crashes with MissingObjectException during fetchSubmodules in GitHub
Actions' shallow clones, even with fetchBaseBranch enabled.
- Remove persist-credentials: false so git fetch works after checkout
- Add "Fetch base branch" step using git CLI (handles shallow clones)
- Set scalpel.fetchBaseBranch=false (base branch already available)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments