Skip to content

ci: drop --depth=1 base fetch in migration-policy (false positives) - #34

Merged
thedancingdeveloper merged 1 commit into
mainfrom
ci/fix-migration-policy-shallow-fetch
Aug 24, 2026
Merged

ci: drop --depth=1 base fetch in migration-policy (false positives)#34
thedancingdeveloper merged 1 commit into
mainfrom
ci/fix-migration-policy-shallow-fetch

Conversation

@thedancingdeveloper

Copy link
Copy Markdown
Collaborator

The base ref was fetched with --depth=1 while the workflow checks out full history; the shallow graft made origin/BASE..HEAD reappear historical base commits after an Update-branch merge, tripping the commit-metadata rule on commits the PR never touched. Fetch the base full-depth, matching the already-fixed variant in rustnzb. No change to what the policy forbids.

…ed false positives)

The base ref was fetched --depth=1 while policy.yml checks out full history; the shallow graft made origin/BASE..HEAD reappear historical base commits after an Update-branch merge, tripping the commit-metadata rule. Fetch the base full-depth (matching the already-fixed variant in rustnzb).
@thedancingdeveloper
thedancingdeveloper merged commit 70fbbc2 into main Aug 24, 2026
7 checks passed
@thedancingdeveloper
thedancingdeveloper deleted the ci/fix-migration-policy-shallow-fetch branch August 24, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant