mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-10 07:50:30 +01:00
- Add a packageRule routing the maven datasource through Google's Maven repo so androidx packages (androidx.tvprovider, androidx.core-ktx) in modules/tv-recommendations resolve instead of failing with no-result. - Move vulnerabilityAlerts and the GitHub-Actions grouping packageRule out of lockFileMaintenance (where they were dead) to the top level so they take effect. lockFileMaintenance stays enabled via the config:best-practices preset (:maintainLockFilesWeekly) — unchanged. Addresses the package-lookup warnings in the Dependency Dashboard (#724).
72 lines
2.3 KiB
JSON
72 lines
2.3 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"description": "Renovate configuration for Streamyfin - Expo React Native Jellyfin client",
|
|
"extends": [
|
|
"config:best-practices",
|
|
":dependencyDashboard",
|
|
":enableVulnerabilityAlertsWithLabel(security)",
|
|
":semanticCommits",
|
|
":timezone(Etc/UTC)",
|
|
"group:testNonMajor",
|
|
"group:monorepos",
|
|
"helpers:pinGitHubActionDigests",
|
|
"customManagers:biomeVersions",
|
|
":automergeBranch",
|
|
":automergeRequireAllStatusChecks"
|
|
],
|
|
"addLabels": ["dependencies"],
|
|
"rebaseWhen": "conflicted",
|
|
"ignorePaths": ["**/node_modules/**"],
|
|
"ignoreUnstable": true,
|
|
"minimumReleaseAge": "3 days",
|
|
"schedule": ["before 6am on Sunday"],
|
|
"branchPrefix": "renovate/",
|
|
"commitMessagePrefix": "chore(deps):",
|
|
"osvVulnerabilityAlerts": true,
|
|
"configMigration": true,
|
|
"separateMinorPatch": true,
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"managerFilePatterns": ["/\\.ya?ml$/"],
|
|
"matchStrings": [
|
|
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)(?: versioning=(?<versioning>\\S+))?\\s+xcode-version:\\s*[\"']?(?<currentValue>[^\"'\\s]+)"
|
|
],
|
|
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}loose{{/if}}"
|
|
}
|
|
],
|
|
"customDatasources": {
|
|
"xcode": {
|
|
"defaultRegistryUrlTemplate": "https://xcodereleases.com/data.json",
|
|
"format": "json",
|
|
"transformTemplates": [
|
|
"{ \"releases\": [$[version.release.release=true].{\"version\": version.number}] }"
|
|
]
|
|
}
|
|
},
|
|
"vulnerabilityAlerts": {
|
|
"enabled": true,
|
|
"addLabels": ["security", "vulnerability"],
|
|
"assigneesFromCodeOwners": true,
|
|
"commitMessageSuffix": " [SECURITY]"
|
|
},
|
|
"packageRules": [
|
|
{
|
|
"description": "Group minor and patch GitHub Action updates into a single PR",
|
|
"matchManagers": ["github-actions"],
|
|
"groupName": "CI dependencies",
|
|
"groupSlug": "ci-deps",
|
|
"matchUpdateTypes": ["minor", "patch", "digest", "pin"],
|
|
"automerge": true
|
|
},
|
|
{
|
|
"description": "androidx and other Google-hosted Maven packages resolve from Google's Maven repository (not Maven Central)",
|
|
"matchDatasources": ["maven"],
|
|
"registryUrls": [
|
|
"https://dl.google.com/dl/android/maven2/",
|
|
"https://repo.maven.apache.org/maven2/"
|
|
]
|
|
}
|
|
]
|
|
}
|