Skip to content

Commit

Permalink
Discovered Renovate :automergeMinor and preventing openai version…
Browse files Browse the repository at this point in the history
… bumps (#493)
  • Loading branch information
jamesbraza committed Sep 27, 2024
1 parent 8d84f92 commit 0428dd2
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:recommended"],
extends: [
"config:recommended",
"group:allNonMajor", // Rely on config:recommended for major version updates
":automergeMinor",
],
schedule: ["* 2 * * 1"],
prHourlyLimit: 4,
timezone: "America/Los_Angeles",
Expand All @@ -13,16 +17,9 @@
},
packageRules: [
{
matchUpdateTypes: ["lockFileMaintenance"],
automerge: true,
},
{
// group:allNonMajor, with automerge
groupName: "all non-major dependencies",
groupSlug: "all-minor-patch",
matchPackageNames: ["*"],
matchUpdateTypes: ["minor", "patch"],
automerge: true,
// Allow 'widen' range strategy while matching aviary_internal pyproject.toml
matchPackageNames: ["openai"],
allowedVersions: "<1.47",
},
],
}

0 comments on commit 0428dd2

Please sign in to comment.