Fix Duplicate Code Detector checkout history - #10539
Merged
Amaury Levé (Evangelink) merged 1 commit intoAug 11, 2026
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0a32ff3-c05a-4421-a298-42b704e6c602
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes the scheduled duplicate-code workflow by providing the Git history required for recent-commit analysis.
Changes:
- Configures a full-history checkout with
fetch-depth: 0. - Regenerates the strict lockfile while preserving immutable action pins.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/duplicate-code-detector.md |
Enables full Git history. |
.github/workflows/duplicate-code-detector.lock.yml |
Applies the generated checkout configuration. |
Review details
Tip
Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Balanced
Amaury Levé (Evangelink)
enabled auto-merge (squash)
August 10, 2026 13:19
Petr Pokorny (0101)
approved these changes
Aug 11, 2026
Amaury Levé (Evangelink)
deleted the
dev/amauryleve/fix-duplicate-detector-data
branch
August 11, 2026 08:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The scheduled Duplicate Code Detector only received a depth-1 checkout, so it could not diff recent commits and reported missing data instead of analyzing code duplication.
Configure the agent checkout to fetch full Git history and regenerate the strict workflow lockfile. This gives
git logandgit diffthe parent commits required to scope analysis while preserving immutable action pins.Fixes #10495