Disable shallow clone in maven_push.yml for Sonar analysis#398
Merged
thomasturrell merged 4 commits intomainfrom Nov 19, 2025
Merged
Disable shallow clone in maven_push.yml for Sonar analysis#398thomasturrell merged 4 commits intomainfrom
thomasturrell merged 4 commits intomainfrom
Conversation
Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update maven_push.yml to disable shallow clone for Sonar
Disable shallow clone in maven_push.yml for Sonar analysis
Nov 19, 2025
thomasturrell
approved these changes
Nov 19, 2025
Contributor
|
@copilot please rebase with main and resolve conflicts |
thomasturrell
approved these changes
Nov 19, 2025
Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com>
Contributor
Author
thomasturrell
approved these changes
Nov 19, 2025
|
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.



Description
Sonar requires full git history for proper analysis. Shallow clones cause warnings and incomplete scans.
Added
fetch-depth: 0to the checkout step in.github/workflows/maven_push.yml. Merged with main branch to incorporate the latest workflow updates including checkout action upgrade to v5 and cache-dependency-path configuration.Final configuration:
The merge with main also brought in improvements to Maven caching configuration.
Resolves #397
Checklist:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.