Skip to content

fix: check out full history in the CodeQL workflow - #2

Merged
davidnmbond merged 1 commit into
mainfrom
fix/codeql-fetch-depth
Oct 4, 2026
Merged

davidnmbond merged 1 commit into
mainfrom
fix/codeql-fetch-depth

Conversation

@davidnmbond

Copy link
Copy Markdown
Contributor

The CodeQL workflow checks out a shallow clone. This repository uses Nerdbank.GitVersioning (version.json), which cannot calculate the version height from a shallow clone, so the autobuild step fails and CodeQL never analyses the code.

Adds fetch-depth: 0 to the checkout step, matching the standard workflow template in PanoramicData.NugetManagement (rule COM-04).

🤖 Generated with Claude Code

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: run a review on demand. To trigger the first review automatically, go to your organization or repository integration settings. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@davidnmbond
davidnmbond merged commit 88fcb58 into main Oct 4, 2026
3 of 5 checks passed
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