Skip to content

Commit

Permalink
Merge pull request #500 from canonical/chore-add-renovate
Browse files Browse the repository at this point in the history
chore: Add renovate configuration
  • Loading branch information
ghislainbourgeois authored Dec 19, 2024
2 parents f023ea4 + fa50312 commit 4f93af0
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/renovate.json5
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"
},
],
}

0 comments on commit 4f93af0

Please sign in to comment.