Skip to content

Commit

Permalink
Merge pull request #27 from crossplane-contrib/feature/renovate
Browse files Browse the repository at this point in the history
feat(renovate): add renovate config
  • Loading branch information
haarchri authored Jan 29, 2024
2 parents 3d71fb4 + d12b7c3 commit a3078d4
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"helpers:pinGitHubActionDigests",
":semanticCommits"
],
"rebaseWhen": "conflicted",
"prConcurrentLimit": 5,
"baseBranches": ["main"],
"labels": ["automated"],
"regexManagers": [
{
"fileMatch": ["^Makefile$"],
"matchStrings": [
"export TERRAFORM_PROVIDER_VERSION ?= (?<currentValue>.*?)\\s",
"export TERRAFORM_NATIVE_PROVIDER_BINARY ?= terraform-provider-castai_v(?<currentValue>.*?)\\s"
],
"datasource": "github-releases",
"depNameTemplate": "castai/terraform-provider-castai",
"versioningTemplate": "semver",
"postUpgradeTasks": {
"commands": [
"make submodules",
"make generate"
],
"fileFilters": ["**/*"]
}
}
],
"customManagers": [
{
"customType": "regex",
"description": "Bump up version in the Makefile",
"fileMatch": ["^Makefile$"],
"matchStrings": [
"UP_VERSION = (?<currentValue>.*?)\\n"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "upbound/up",
}, {
"customType": "regex",
"description": "Bump uptest version in the Makefile",
"fileMatch": ["^Makefile$"],
"matchStrings": [
"UPTEST_VERSION = (?<currentValue>.*?)\\n"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "upbound/uptest",
}
]
}

0 comments on commit a3078d4

Please sign in to comment.