-
Notifications
You must be signed in to change notification settings - Fork 8
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 #210 from roobre/main
Set up Renovate for dependency automation
- Loading branch information
Showing
1 changed file
with
35 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,35 @@ | ||
{ | ||
"extends": [ | ||
":disableDependencyDashboard", | ||
":semanticCommitsDisabled" | ||
], | ||
"gomod": {}, // Upgrade go dependencies. | ||
"github-actions": {}, // Upgrade GitHub actions. | ||
// Renovate evaluates all packageRules and does not stop after the first match. | ||
// Rules that appear later in this list override earlier rules. | ||
"packageRules": [ | ||
// Group all Go dependencies in the same PR. | ||
{ | ||
"matchManagers": ["gomod"], | ||
"groupName": "go dependencies" | ||
}, | ||
// Separate all kubernetes dependencies to a different PR. | ||
{ | ||
"matchManagers": ["gomod"], | ||
"matchPackagePrefixes": ["k8s.io/"], | ||
"groupName": "go k8s libraries" | ||
}, | ||
// Separate k6 dependencies to a different PR. | ||
{ | ||
"matchManagers": ["gomod"], | ||
"matchPackagePrefixes": ["go.k6.io/"], | ||
"groupName": "k6 core" | ||
}, | ||
// Group all core GitHub actions updates in the same PR. | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"matchPackagePrefixes": ["actions/"], | ||
"groupName": "core github actions" | ||
} | ||
] | ||
} |