Skip to content

GHA-156 Add Bump Project Version Action to update version in Maven and Gradle files#71

Closed
nils-werner-sonarsource wants to merge 7 commits intomasterfrom
nw/create-bump-version-action
Closed

GHA-156 Add Bump Project Version Action to update version in Maven and Gradle files#71
nils-werner-sonarsource wants to merge 7 commits intomasterfrom
nw/create-bump-version-action

Conversation

@nils-werner-sonarsource
Copy link
Contributor

No description provided.

@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod bot changed the title Add Bump Project Version Action to update version in Maven and Gradle files GHA-156 Add Bump Project Version Action to update version in Maven and Gradle files Dec 10, 2025
@hashicorp-vault-sonar-prod
Copy link

hashicorp-vault-sonar-prod bot commented Dec 10, 2025

GHA-156

@nils-werner-sonarsource nils-werner-sonarsource force-pushed the nw/create-bump-version-action branch from d7cd26d to cf4adca Compare December 10, 2025 14:16
@nils-werner-sonarsource nils-werner-sonarsource force-pushed the nw/create-bump-version-action branch from d593615 to 6ad73a0 Compare December 12, 2025 07:49
@sonarqubecloud
Copy link

SonarQube reviewer guide

Important

We are currently testing different models for AI Summary.
Please give us your feedback by filling this form.

Model A:

Summary: Adds reusable GitHub Action to automate version bumping in Maven and Gradle projects with module exclusion support.

Review Focus:

  • The bash script's file exclusion logic and sed patterns for version replacement
  • Vault integration for GitHub token retrieval and PR creation workflow
  • Test coverage validating exclusion behavior with multiple modules

Start review at: bump-version/bump_version.sh. This is the core script that performs the actual version updates with complex exclusion logic and regex replacements that could affect multiple files across the repository.

Model B:

Summary: Introduces a new GitHub Action for bumping project versions in Maven and Gradle files with module exclusion support, including comprehensive test coverage and CI workflow.

Review Focus: Pay close attention to the sed patterns in bump_version.sh for version replacement—ensure they're robust enough for various pom.xml formats. Also verify the module exclusion logic correctly handles whitespace and edge cases, and confirm the test suite adequately validates both inclusion and exclusion scenarios.

Start review at: bump-version/bump_version.sh. This is the core implementation that performs the actual version updates; its correctness is critical since any flaws will directly impact version management across your repositories.

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

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