Skip to content

Commit

Permalink
Add renovate config
Browse files Browse the repository at this point in the history
  • Loading branch information
tolkonepiu committed Oct 5, 2023
1 parent d585be0 commit 969b0ad
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:base"],
customManagers: [
// ruby version
{
customType: "regex",
fileMatch: [".+\\.ya?ml$"],
matchStrings: ["ruby-version: (?<currentValue>.*?)\\n"],
versioning: "ruby",
},
// bashly version
{
customType: "regex",
fileMatch: [".+\\.ya?ml$"],
matchStrings: ["BASHLY_VERSION: (?<currentValue>.*?)\\n"],
depNameTemplate: "DannyBen/bashly",
datasourceTemplate: "github-releases",
extractVersionTemplate: "^v(?<version>.*)$",
},
// bats version
{
customType: "regex",
fileMatch: [".+\\.ya?ml$"],
matchStrings: ["bats-version: (?<currentValue>.*?)\\n"],
depNameTemplate: "bats-core/bats-core",
datasourceTemplate: "github-releases",
extractVersionTemplate: "^v(?<version>.*)$",
},
],
packageRules: [
{
matchUpdateTypes: ["minor", "patch", "pin", "digest"],
automerge: true,
},
],
}

0 comments on commit 969b0ad

Please sign in to comment.