-
Notifications
You must be signed in to change notification settings - Fork 2
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 #500 from canonical/chore-add-renovate
chore: Add renovate configuration
- Loading branch information
Showing
1 changed file
with
45 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,45 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:recommended", | ||
":disableRateLimiting", | ||
":noUnscheduledUpdates", | ||
":semanticCommits" | ||
], | ||
"automerge": true, | ||
"automergeStrategy": "squash", | ||
"automergeType": "pr", | ||
"platformAutomerge": true, | ||
"schedule": ["after 1am and before 3am every monday"], | ||
"lockFileMaintenance": { | ||
"enabled": true, | ||
"schedule": ["after 1am and before 3am every wednesday"] | ||
}, | ||
"timezone": "Etc/UTC", | ||
"enabledManagers": ["pep621", "github-actions", "terraform"], | ||
"packageRules": [ | ||
// Later rules override earlier rules | ||
{ | ||
"matchBaseBranches": ["main", "v*"], | ||
"matchManagers": ["pep621"], | ||
"rangeStrategy": "bump", | ||
"groupName": "Python dependencies" | ||
}, | ||
{ | ||
// Bumping "pytest-asyncio" over 0.23 breaks the integration tests | ||
"matchPackageNames": ["pytest-asyncio"], | ||
"matchUpdateTypes": ["minor"], | ||
"enabled": false | ||
}, | ||
{ | ||
"matchBaseBranches": ["main", "v*"], | ||
"matchManagers": ["github-actions"], | ||
"groupName": "GitHub actions" | ||
}, | ||
{ | ||
"matchBaseBranches": ["main", "v*"], | ||
"matchManagers": ["terraform"], | ||
"groupName": "Terraform" | ||
}, | ||
], | ||
} |