Migrate config renovate.json5
Some checks failed
Build / nix-build (native-aarch64, varda) (pull_request) Has been cancelled
Build / nix-build (native-x86_64, shadowfax) (pull_request) Has been cancelled
Build / nix-build (native-x86_64, telperion) (pull_request) Has been cancelled
Build / nix-build (native-x86_64, gandalf) (pull_request) Has been cancelled
Some checks failed
Build / nix-build (native-aarch64, varda) (pull_request) Has been cancelled
Build / nix-build (native-x86_64, shadowfax) (pull_request) Has been cancelled
Build / nix-build (native-x86_64, telperion) (pull_request) Has been cancelled
Build / nix-build (native-x86_64, gandalf) (pull_request) Has been cancelled
This commit is contained in:
parent
db998ac335
commit
81e8c7d28f
1 changed files with 16 additions and 23 deletions
|
@ -1,28 +1,21 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
$schema: "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["config:base", "docker:pinDigests"],
|
extends: ["config:recommended", "docker:pinDigests"],
|
||||||
"nix": {
|
nix: {
|
||||||
"enabled": true
|
enabled: true,
|
||||||
},
|
},
|
||||||
"ignorePaths": ["**/*.sops.*", "**/.archive/**", "**/resources/**"],
|
ignorePaths: ["**/*.sops.*", "**/.archive/**", "**/resources/**"],
|
||||||
// "lockFileMaintenance": {
|
customManagers: [
|
||||||
// "enabled": true,
|
|
||||||
// "extends": [
|
|
||||||
// "schedule:daily"
|
|
||||||
// ]
|
|
||||||
// },
|
|
||||||
"customManagers": [
|
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
customType: "regex",
|
||||||
"description": "Process various dependencies in nix files",
|
description: "Process various dependencies in nix files",
|
||||||
"fileMatch": ["\\.nix$"],
|
fileMatch: ["\\.nix$"],
|
||||||
"matchStrings": [
|
matchStrings: [
|
||||||
// Newline
|
'(?m:^[ \\t]*?# ?renovate: depName=(?<depName>\\S+)( datasource=(?<datasource>\\S+))?( versioning=(?<versioning>\\S+))?( extractVersion=(?<extractVersion>\\S+))?\\n[ \\t ]*?\\S+ = "?(?<currentValue>[^" ]+?)";?$)',
|
||||||
"(?m:^[ \\t]*?# ?renovate: depName=(?<depName>\\S+)( datasource=(?<datasource>\\S+))?( versioning=(?<versioning>\\S+))?( extractVersion=(?<extractVersion>\\S+))?\\n[ \\t ]*?\\S+ = \"?(?<currentValue>[^\" ]+?)\";?$)"
|
],
|
||||||
|
datasourceTemplate: "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}",
|
||||||
|
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
|
||||||
|
extractVersionTemplate: "{{#if extractVersion}}{{{extractVersion}}}{{else}}^(?<version>.*)${{/if}}",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}",
|
|
||||||
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
|
|
||||||
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^(?<version>.*)${{/if}}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue