generated from crossplane/upjet-provider-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from crossplane-contrib/feature/renovate
feat(renovate): add renovate config
- Loading branch information
Showing
1 changed file
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
} | ||
] | ||
} |