Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,15 @@
matchDepNames: ["mysql"],
minimumReleaseAge: "1765 days",
},
{
description: "Require non-general dependencies in gemspec files to be approved",
dependencyDashboardCategory: "{{depType}} should be migrated to Gemfile",
matchCategories: ["custom"],
matchDepNames: ["!ruby"],
matchDepTypes: ["!dependency"],
matchFileNames: ["**/*.gemspec"],
dependencyDashboardApproval: true,
},
],
customManagers: [
{
Expand Down Expand Up @@ -131,6 +140,17 @@
currentValueTemplate: "{{depVersion}}",
autoReplaceStringTemplate: "entrypoint sh {{packageName}}:{{newVersion}}@{{newDigest}} -c",
},
{
customType: "regex",
description: "Update dependencies in gemspecs",
managerFilePatterns: ["**/*.gemspec"],
matchStrings: [
".add_(?<depType>.*dependency)\\s'(?<packageName>.+?)',\\s'(?<depVersion>.+\\s[0-9.]+)'",
],
datasourceTemplate: "rubygems",
versioningTemplate: "ruby",
currentValueTemplate: "{{depVersion}}",
},
],
lockFileMaintenance: {
enabled: true,
Expand Down
Loading