Skip to content

chore: add renovatebot config for updating LTS releases#442

Merged
fzipi merged 2 commits into
mainfrom
copilot/add-renovatebot-config
Jul 3, 2026
Merged

chore: add renovatebot config for updating LTS releases#442
fzipi merged 2 commits into
mainfrom
copilot/add-renovatebot-config

Conversation

Copilot AI commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Renovatebot has no visibility into the LTS CRS version variables, so previous-lts-crs-version and v4-lts-crs-version are never auto-updated. This adds the necessary annotations and constraints to bring them under renovate management.

Changes

  • docker-bake.hcl — Added renovate: inline comments to both LTS variables, using distinct depName values (coreruleset-v3-lts, coreruleset-v4-lts) so they can be targeted by separate package rules:
variable "previous-lts-crs-version" {
    # renovate: depName=coreruleset-v3-lts packageName=coreruleset/coreruleset datasource=github-releases
    default = "3.3.9"
}

variable "v4-lts-crs-version" {
    # renovate: depName=coreruleset-v4-lts packageName=coreruleset/coreruleset datasource=github-releases
    default = "4.25.0"
}
  • renovate.json — Added two package rules pinning each LTS dep to its current minor range, so renovate only proposes patch updates within the active LTS branch:
{ "matchDepNames": ["coreruleset-v3-lts"], "allowedVersions": ">=3.3.0 <3.4.0", ... },
{ "matchDepNames": ["coreruleset-v4-lts"], "allowedVersions": ">=4.25.0 <4.26.0", ... }

Note: When an LTS minor branch advances (e.g. v4 LTS moves to 4.26.x), the allowedVersions range must be updated manually alongside the version bump.

Copilot AI linked an issue Jul 3, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add renovatebot config for updating LTS releases Add renovatebot config for updating LTS releases Jul 3, 2026
Copilot finished work on behalf of fzipi July 3, 2026 11:14
Copilot AI requested a review from fzipi July 3, 2026 11:14
@fzipi fzipi marked this pull request as ready for review July 3, 2026 11:20
@fzipi fzipi changed the title Add renovatebot config for updating LTS releases chore: add renovatebot config for updating LTS releases Jul 3, 2026
@fzipi fzipi merged commit 01e99d3 into main Jul 3, 2026
35 of 37 checks passed
@fzipi fzipi deleted the copilot/add-renovatebot-config branch July 3, 2026 12:00
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.

Add renovatebot config for updating LTS releases

3 participants