Skip to content

Commit

Permalink
feat(renovate): add dependency groups (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Dec 16, 2023
1 parent 7be85f7 commit b261068
Showing 1 changed file with 50 additions and 8 deletions.
58 changes: 50 additions & 8 deletions renovate-config.json5
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"constraintsFiltering": "strict", // ensure dependencies are compatible with dependency constraints
"description": "Default renovate configuration for LizardByte repositories",
"extends": [
"config:recommended"
"config:recommended",
"group:recommended",
],
"dependencyDashboard": true, // Creates an issue with a "dashboard" of dependencies
"dependencyDashboardLabels": [
Expand All @@ -32,13 +33,54 @@
"git-submodules": {
"enabled": true
},
// package rules
// group/package rules
"packageRules": [
// Group GitHub maintained actions
{
// match LizardByte's GitHub actions
"matchManagers": ["github-actions"],
"matchPackagePatterns": ["^LizardByte/"],
"versioning": "loose", // loose versioning will mean sha suffixes are sorted alphabetically so essentially ignored
}
]
"groupName": "Official GitHub Actions",
"groupSlug": "github-actions",
"matchManagers": [
"github-actions"
],
"matchPackagePrefixes": [
"actions/",
"github/"
],
},
// combine LizardByte/plexhints and pypi plexhints into a single group
{
"groupName": "plexhints",
"matchCategories": [
"ci",
"python",
],
"matchPackageNames": [
"LizardByte/plexhints",
"plexhints",
],
},
// combine oddstr13/jellyfin-plugin-repository-manager and pypi jprm into a single group
{
"groupName": "jprm",
"matchCategories": [
"ci",
"python",
],
"matchPackageNames": [
"oddstr13/jellyfin-plugin-repository-manager",
"jprm",
],
},
// remaining LizardByte actions
{
"groupName": "LizardByte GitHub Actions",
"groupSlug": "lizardbyte-gh-actions",
"matchManagers": [
"github-actions"
],
"matchPackagePrefixes": [
"LizardByte/"
],
},
],
}

0 comments on commit b261068

Please sign in to comment.