Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 27 additions & 38 deletions renovate-config.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@
// see https://docs.renovatebot.com/configuration-options
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"branchNameStrict": true, // remove special characters from branch names
"commitMessageAction": "Bump", // Bump is more similar to dependabot
"configMigration": true, // allow renovate to open PRs to update config
"constraintsFiltering": "strict", // ensure dependencies are compatible with dependency constraints
"description": "Default renovate configuration for LizardByte repositories",
"extends": [
"config:recommended",
"group:recommended",
],
"dependencyDashboard": true, // Creates an issue with a "dashboard" of dependencies
"dependencyDashboardLabels": [
"dependencies"
],
"extends": [
"config:recommended",
"group:recommended",
":semanticCommits",
":semanticCommitTypeAll(chore)",
],
"labels": [
"dependencies",
"{{category}}"
Expand All @@ -22,11 +23,12 @@
"rollbackPrs": true, // create a rollback PR when a dependency is yanked
"schedule": [
"after 1am",
"before 6am"
"before 8am"
],
"semanticCommitScope": "deps",
"semanticCommitType": "build",
"semanticCommitType": "chore",
"semanticCommits": "enabled",
"separateMultipleMajor": true, // create separate PRs for major updates
"timezone": "America/New_York",
"updatePinnedDependencies": true,
// beta features
Expand All @@ -35,6 +37,15 @@
},
// group/package rules
"packageRules": [
// Keep Debian Docker tags on plain codenames or major versions, not dated rebuild tags.
{
"matchDatasources": ["docker"],
"matchPackageNames": [
"debian",
],
"matchCurrentValue": "/^(?:[a-z]+|\\d+)(?:-[a-z]+)?$/",
"allowedVersions": "/^(?:[a-z]+|\\d+)(?:-[a-z]+)?$/"
},
// Group GitHub maintained actions
{
"groupName": "Official GitHub Actions",
Expand All @@ -47,18 +58,6 @@
"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",
Expand All @@ -71,27 +70,17 @@
"jprm",
],
},
// combine plexapi and plexapi-backport into a single group
{
"groupName": "plexapi",
"matchCategories": [
"python",
],
"matchPackageNames": [
"plexapi",
"plexapi-backport",
],
},
// remaining LizardByte actions
],
"customManagers": [
// CPM Package Lock
{
"groupName": "LizardByte GitHub Actions",
"groupSlug": "lizardbyte-gh-actions",
"matchManagers": [
"github-actions"
],
"matchPackageNames": [
"LizardByte/**"
"customType": "regex",
"managerFilePatterns": ["(^|/)package-lock\\.cmake$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-zA-Z0-9-._]+?) depName=(?<depName>[^\\s]+?)(?: packageName=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s+set\\([A-Za-z0-9_]+?_VERSION\\s+\\\"?(?<currentValue>[^\\\"\\s\\)]+)\\\"?\\s*\\)",
"# renovate: datasource=(?<datasource>[a-zA-Z0-9-._]+?) depName=(?<depName>[^\\s]+?)(?: packageName=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s+set\\([A-Za-z0-9_]+?_VERSION\\s+\\\"?(?<currentValue>[^\\\"\\s\\)]+)\\\"?\\s*\\)\\s+set\\([A-Za-z0-9_]+?_SHA256\\s+(?<currentDigest>[a-fA-F0-9]{64})\\s*\\)",
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{/if}}"
},
],
}
Loading