Skip to content

chore(renovate): remove minimumReleaseAge for go-git/sha1cd cut releases#12

Merged
pjbgf merged 1 commit into
mainfrom
copilot/remote-minimumreleaseage-dependencies
Jul 24, 2026
Merged

chore(renovate): remove minimumReleaseAge for go-git/sha1cd cut releases#12
pjbgf merged 1 commit into
mainfrom
copilot/remote-minimumreleaseage-dependencies

Conversation

Copilot AI commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Cut releases (major/minor/patch) of github.com/go-git/ and github.com/pjbgf/sha1cd were subject to any inherited minimumReleaseAge, causing unnecessary delays when consuming proper semver releases from first-party dependencies.

Changes

  • default.json: Adds a packageRule that explicitly sets minimumReleaseAge: "0 days" for go-git and pjbgf/sha1cd packages when the update type is major, minor, or patch

The existing 7-day delay for pseudo-versions (commit-based snapshots) is unchanged:

Update type minimumReleaseAge
Pseudo-version (v0.0.0-YYYYMMDDHHMMSS-abcdef123456) 7 days
Cut release (vX.Y.Z) 0 days

@pjbgf
pjbgf marked this pull request as ready for review July 24, 2026 08:47
Copilot AI review requested due to automatic review settings July 24, 2026 08:47
@pjbgf
pjbgf merged commit ba2026e into main Jul 24, 2026
2 checks passed
@pjbgf
pjbgf deleted the copilot/remote-minimumreleaseage-dependencies branch July 24, 2026 08:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates Renovate configuration so that first-party Go dependencies (github.com/go-git/ and github.com/pjbgf/sha1cd) are not delayed by an inherited minimumReleaseAge when consuming tagged semver releases.

Changes:

  • Adds a packageRules entry that sets minimumReleaseAge: "0 days" for gomod updates to go-git and sha1cd when the update type is major/minor/patch.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread default.json
Comment on lines +82 to +96
{
"matchManagers": [
"gomod"
],
"matchPackagePrefixes": [
"github.com/go-git/",
"github.com/pjbgf/sha1cd"
],
"matchUpdateTypes": [
"major",
"minor",
"patch"
],
"minimumReleaseAge": "0 days"
},
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.

3 participants