Scope go-git minimumReleaseAge to pseudo-version updates only#11
Merged
Conversation
Agent-Logs-Url: https://github.com/go-git/.github/sessions/4740c382-e5bc-4726-a672-4251c867a5ec Co-authored-by: pjbgf <5452977+pjbgf@users.noreply.github.com>
pjbgf
approved these changes
May 11, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the shared Renovate configuration to stop delaying tagged go-git releases while still applying a 7-day aging window to go pseudo-version updates (i.e., new commits on the default branch).
Changes:
- Split the existing
go-gitgomodpackage rule so the grouping rule no longer appliesminimumReleaseAge. - Added a second
gomodrule for the same go-git prefixes that appliesminimumReleaseAge: "7 days"only when the new version matches a Go pseudo-version suffix viamatchNewValue.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
The current go-git Renovate rule applies a 7-day
minimumReleaseAgeto all updates, which also delays cut releases. This change limits that delay to pseudo-version bumps (new commits onmain) while leaving tagged releases unblocked.Rule split for go-git dependencies
go-gitgrouping rule (gomod+ package prefixes) for update grouping behavior.minimumReleaseAgefrom that base grouping rule.Pseudo-version-only age gating
gomodpackage rule for the same go-git prefixes.minimumReleaseAge: "7 days"only whenmatchNewValuematches Go pseudo-version format (YYYYMMDDHHMMSS-<12hex>[+incompatible]).{ "matchManagers": ["gomod"], "matchPackagePrefixes": [ "github.com/go-git/", "github.com/pjbgf/sha1cd" ], "matchNewValue": "/\\d{14}-[0-9a-f]{12}(\\+incompatible)?$/", "minimumReleaseAge": "7 days" }