Skip to content

SONARJAVA-6296 Configure Renovate#5587

Open
renovate[bot] wants to merge 15 commits intomasterfrom
renovate/configure
Open

SONARJAVA-6296 Configure Renovate#5587
renovate[bot] wants to merge 15 commits intomasterfrom
renovate/configure

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented Apr 29, 2026

Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.

📚 See our Reading List for relevant documentation you may be interested in reading.

🔡 Do you want to change how Renovate upgrades your dependencies? Add your custom config to renovate.json in this branch. Renovate will update the Pull Request description the next time it runs.


Detected Package Files

  • .github/actions/orchestrator-cache/action.yml (github-actions)
  • .github/actions/upload-actual/action.yml (github-actions)
  • .github/workflows/PrepareNextIteration.yml (github-actions)
  • .github/workflows/PullRequestClosed.yml (github-actions)
  • .github/workflows/PullRequestCreated.yml (github-actions)
  • .github/workflows/ReleasabilityCheck.yml (github-actions)
  • .github/workflows/RequestReview.yml (github-actions)
  • .github/workflows/SubmitReview.yml (github-actions)
  • .github/workflows/ToggleLockBranch.yml (github-actions)
  • .github/workflows/UpdateRuleMetadata.yml (github-actions)
  • .github/workflows/automated-release.yml (github-actions)
  • .github/workflows/build.yml (github-actions)
  • .github/workflows/cleanup-cache.yml (github-actions)
  • .github/workflows/dogfood.yml (github-actions)
  • .github/workflows/mark-prs-stale.yml (github-actions)
  • .github/workflows/pr-cleanup.yml (github-actions)
  • .github/workflows/releasability.yaml (github-actions)
  • .github/workflows/release.yml (github-actions)
  • .github/workflows/unified-dogfooding.yml (github-actions)
  • check-list/pom.xml (maven)
  • external-reports/pom.xml (maven)
  • its/autoscan/pom.xml (maven)
  • its/plugin/plugins/java-extension-plugin/pom.xml (maven)
  • its/plugin/plugins/pom.xml (maven)
  • its/plugin/pom.xml (maven)
  • its/plugin/tests/pom.xml (maven)
  • its/pom.xml (maven)
  • its/ruling/pom.xml (maven)
  • its/vibebot/pom.xml (maven)
  • java-checks-aws/pom.xml (maven)
  • java-checks-common/pom.xml (maven)
  • java-checks-testkit/pom.xml (maven)
  • java-checks/pom.xml (maven)
  • java-frontend/pom.xml (maven)
  • java-jsp/pom.xml (maven)
  • java-surefire/pom.xml (maven)
  • pom.xml (maven)
  • sonar-java-plugin/pom.xml (maven)
  • .github/workflows/PrepareNextIteration.yml (regex)
  • .github/workflows/build.yml (regex)
  • .github/workflows/unified-dogfooding.yml (regex)

Configuration Summary

Based on the default config's presets, Renovate will:

  • Start dependency updates only once this onboarding PR is merged
  • Hopefully safe environment variables to allow users to configure.
  • Show all Merge Confidence badges for pull requests.
  • Enable Renovate Dependency Dashboard creation.
  • Use semantic commit type fix for dependencies and chore for all others if semantic commits are in use.
  • Ignore node_modules, bower_components, vendor and various test/tests (except for nuget) directories.
  • Group known monorepo packages together.
  • Use curated list of recommended non-monorepo package groupings.
  • Show only the Age and Confidence Merge Confidence badges for pull requests.
  • Apply crowd-sourced package replacement rules.
  • Apply crowd-sourced workarounds for known problems with packages.
  • Ensure that every dependency pinned by digest and sourced from Forgejo contains a link to the commit-to-commit diff
  • Ensure that every dependency pinned by digest and sourced from Gitea contains a link to the commit-to-commit diff
  • Ensure that every dependency pinned by digest and sourced from GitHub.com and Github enterprise contains a link to the commit-to-commit diff
  • Ensure that every dependency pinned by digest and sourced from GitLab.com contains a link to the commit-to-commit diff
  • Correctly link to the source code for golang.org/x packages
  • Link to pkg.go.dev/... for golang.org/x packages' title
  • Evaluate schedules according to timezone CET.
  • Remove hourly and concurrent rate limits.
  • Run Renovate on following schedule: before 6am on Monday

What to Expect

With your current configuration, Renovate will create 7 Pull Requests:

Update dependency org.springframework:spring-webmvc to v6 [SECURITY]
Update GitHub Actions dependencies
Update Maven dependencies
Update sonar-plugin-api to v13.5.0.4319
Update dependency mise to 2026.4.20
  • Schedule: ["before 6am on Monday"]
  • Branch name: renovate/mise
  • Merge into: master
  • Upgrade mise to 2026.4.20
Update GitHub Actions dependencies (major)
Update Maven dependencies (major)

❓ Got questions? Check out Renovate's Docs, particularly the Getting Started section.
If you need any further assistance then you can also request help here.


This PR was generated by Mend Renovate. View the repository job log.

@hashicorp-vault-sonar-prod
Copy link
Copy Markdown
Contributor

hashicorp-vault-sonar-prod Bot commented Apr 29, 2026

Renovate Jira issue ID: SONARJAVA-6295

@sonar-review-alpha
Copy link
Copy Markdown
Contributor

sonar-review-alpha Bot commented Apr 29, 2026

Summary

⚠️ The PR description exceeded the analysis limit and was truncated. The review may not reflect all context.

This PR adds renovate.json5 to enable automated dependency updates for sonar-java. The configuration extends SonarSource's standard JVM squad presets and adds project-specific customizations:

  • Ignored paths: Test sources and documentation directories to reduce noise
  • sonar-plugin-api handling: Includes a reminder to check the compatibility matrix before updating (critical for plugin development)
  • SonarSource GitHub Actions: Custom version extraction for internal actions

Once merged, Renovate will automatically create dependency update PRs on the configured schedule (before 6am Mondays), starting with 7 PRs including a security update for spring-webmvc.

What reviewers should know

Key decision: The config is minimal and delegates most logic to SonarSource's shared presets (quality-jvm-squad). Review focuses on the local customizations, not the defaults.

Important for reviewers:

  • The prHeader for sonar-plugin-api is a UX choice—it warns authors to verify compatibility before merging updates to that critical dependency. Make sure this message is helpful to your team.
  • The ignorePaths list targets test/doc directories. Verify these match your repo's actual layout and that nothing important gets excluded.
  • The GitHub Actions regex ^v(?<version>\\d+)$ assumes SonarSource actions use git tags like v1, v2. Confirm this matches your actual workflow.

After merge: Expect the 7 pull requests listed in the author's description to be created within hours. The spring-webmvc security PR should be prioritized.


  • Generate Walkthrough
  • Generate Diagram

🗣️ Give feedback

sonar-review-alpha[bot]

This comment was marked as outdated.

@tomasz-tylenda-sonarsource tomasz-tylenda-sonarsource changed the title Configure Renovate SONARJAVA-6296 Configure Renovate Apr 29, 2026
sonar-review-alpha[bot]

This comment was marked as resolved.

sonar-review-alpha[bot]

This comment was marked as outdated.

sonar-review-alpha[bot]

This comment was marked as resolved.

sonar-review-alpha[bot]

This comment was marked as outdated.

sonar-review-alpha[bot]

This comment was marked as outdated.

@sonarqube-next
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
0 Dependency risks
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Copy link
Copy Markdown
Contributor

@sonar-review-alpha sonar-review-alpha Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! ✅

🗣️ Give feedback

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