chore: add renovate config

This commit is contained in:
secustor 2025-01-17 23:56:53 +01:00
parent 229d51e158
commit b222e79449
No known key found for this signature in database
3 changed files with 21 additions and 0 deletions

View file

@ -27,6 +27,7 @@ jobs:
- name: Set up Helm
uses: azure/setup-helm@v4.2.0
with:
# renovate: datasource=github-releases depName=helm/helm
version: v3.12.0
- name: Run chart-releaser

View file

@ -4,4 +4,5 @@ description: A Immich Helm chart targeted at advanced users
type: application
version: 0.2.0
# renovate: image=ghcr.io/immich-app/immich-server
appVersion: "v1.124.2"

19
renovate.json5 Normal file
View file

@ -0,0 +1,19 @@
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'config:recommended',
'customManagers:helmChartYamlAppVersions',
'helpers:pinGitHubActionDigests',
],
customManagers: [
{
customType: "regex",
fileMatch: ['\\.github/workflows/release.ya?ml'],
matchStrings: [
// this is mostly a copy from https://docs.renovatebot.com/presets-customManagers/#custommanagersgithubactionsversions
// and only changes the expected version prefix
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?\\s+[A-Za-z0-9_]+?version\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
]
}
]
}