diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 0000000..7a78a99 --- /dev/null +++ b/.github/renovate.json5 @@ -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: (?.*?)\\n"], + versioning: "ruby", + }, + // bashly version + { + customType: "regex", + fileMatch: [".+\\.ya?ml$"], + matchStrings: ["BASHLY_VERSION: (?.*?)\\n"], + depNameTemplate: "DannyBen/bashly", + datasourceTemplate: "github-releases", + extractVersionTemplate: "^v(?.*)$", + }, + // bats version + { + customType: "regex", + fileMatch: [".+\\.ya?ml$"], + matchStrings: ["bats-version: (?.*?)\\n"], + depNameTemplate: "bats-core/bats-core", + datasourceTemplate: "github-releases", + extractVersionTemplate: "^v(?.*)$", + }, + ], + packageRules: [ + { + matchUpdateTypes: ["minor", "patch", "pin", "digest"], + automerge: true, + }, + ], +}