SONARJAVA-6316 Use semver range updates (not pinning) for SonarSource GitHub Actions#83
SONARJAVA-6316 Use semver range updates (not pinning) for SonarSource GitHub Actions#83tomasz-tylenda-sonarsource wants to merge 2 commits into
Conversation
SummaryThis PR adds a new Renovate configuration rule for SonarSource GitHub Actions to use semver range updates instead of exact version pinning. The change applies the "replace" range strategy to any GitHub Actions from the SonarSource organization, allowing automatic minor and patch version updates while maintaining flexibility rather than locking to specific versions. What reviewers should knowWhat to review:
Context:
|
4c188c5 to
6e1eb18
Compare
2393643 to
93f608b
Compare
93f608b to
74cce78
Compare
|
| { | ||
| // Use semver range updates (not pinning) for SonarSource GitHub Actions | ||
| matchManagers: [ "github-actions" ], | ||
| matchPackagePatterns: [ "^SonarSource/" ], |
There was a problem hiding this comment.
The pattern ^SonarSource/ is a case-sensitive regex. Five workflow files reference sonarsource/gh-action-lt-backlog (lowercase s) — specifically in PullRequestCreated.yml, PullRequestClosed.yml, RequestReview.yml, SubmitReview.yml, and ToggleLockBranch.yml.
Those actions use @v2-style tags and won't be matched by this rule, so they won't receive rangeStrategy: "replace" unless the parent config (quality-jvm-squad) already covers them.
If excluding sonarsource/ is intentional (e.g. the parent config already handles it), add a comment explaining why. If it's an oversight, widen the pattern to cover both casings:
| matchPackagePatterns: [ "^SonarSource/" ], | |
| matchPackagePatterns: [ "(?i)^sonarsource/" ], |
- Mark as noise





No description provided.