2023-01-04 07:37:30 +00:00
{
"$schema" : "https://docs.renovatebot.com/renovate-schema.json" ,
2024-08-16 12:58:57 +00:00
"extends" : [
"forgejo-contrib/forgejo-renovate//base.json" ,
"github>visualon/renovate-config//k3s.json"
] ,
2023-01-04 07:37:30 +00:00
"assignees" : [ "viceice" ] ,
2024-05-29 08:26:47 +02:00
"baseBranches" : [ "main" , "/^maint\\/.+/" ] ,
2023-01-04 07:37:30 +00:00
"packageRules" : [
2024-05-30 09:22:20 +02:00
{
2024-08-22 10:31:16 +02:00
"description" : "Separate multiple major sub chart updates" ,
"matchFileNames" : [ "Chart.yaml" ] ,
"separateMultipleMajor" : true
} ,
{
"description" : "Require approval for major sub chart updates for maintenance branches" ,
2024-05-30 09:22:20 +02:00
"matchBaseBranches" : [ "/^maint\\/.+/" ] ,
"matchUpdateTypes" : [ "major" ] ,
"matchFileNames" : [ "Chart.yaml" ] ,
2024-08-22 10:31:16 +02:00
"dependencyDashboardApproval" : true
2024-05-30 09:22:20 +02:00
} ,
2023-01-04 15:22:17 +01:00
{
"matchManagers" : [ "helmv3" ] ,
"matchUpdateTypes" : [ "minor" , "patch" ] ,
"semanticCommitType" : "fix"
} ,
{
"matchManagers" : [ "helmv3" ] ,
"matchUpdateTypes" : [ "major" ] ,
"semanticCommitType" : "feat"
} ,
{
2024-05-06 14:42:10 +00:00
"matchManagers" : [ "custom.regex" ] ,
2023-01-19 12:44:04 +01:00
"matchDepNames" : [ "forgejo" ] ,
"matchUpdateTypes" : [ "patch" ] ,
2023-01-04 15:22:17 +01:00
"semanticCommitType" : "fix"
} ,
{
2024-05-06 14:42:10 +00:00
"matchManagers" : [ "custom.regex" ] ,
2023-01-19 12:44:04 +01:00
"matchDepNames" : [ "forgejo" ] ,
"matchUpdateTypes" : [ "major" , "minor" ] ,
2023-01-04 15:22:17 +01:00
"semanticCommitType" : "feat"
2023-01-05 15:52:53 +01:00
} ,
2023-01-19 12:48:01 +01:00
{
2024-07-25 12:06:48 +00:00
"description" : "Automerge and group helm subchart updates daily (minor & patch)" ,
2023-01-19 12:48:01 +01:00
"matchManagers" : [ "helmv3" ] ,
2024-05-06 14:42:10 +00:00
"matchFileNames" : [ "Chart.yaml" ] ,
2024-06-05 16:05:49 +02:00
"matchUpdateTypes" : [ "minor" , "patch" ] ,
"automerge" : true ,
2024-07-25 12:06:48 +00:00
"groupName" : "subcharts" ,
"extends" : [ "schedule:daily" ]
2023-07-03 15:00:36 +02:00
} ,
{
"description" : "Automerge dev deps updates" ,
"matchManagers" : [ "npm" ] ,
2023-12-06 11:33:03 +01:00
"matchDepTypes" : [ "devDependencies" ] ,
2024-01-25 07:45:19 +00:00
"matchUpdateTypes" : [ "minor" , "patch" ] ,
2023-07-03 15:00:36 +02:00
"automerge" : true
2023-12-07 15:56:12 +00:00
} ,
2024-02-07 12:46:49 +01:00
{
"description" : "Automerge node updates" ,
"matchManagers" : [ "nodenv" ] ,
"matchUpdateTypes" : [ "minor" , "patch" ] ,
"automerge" : true
} ,
2024-02-27 08:43:16 +00:00
{
2024-03-25 09:20:39 +01:00
"description" : "Automerge some updates" ,
"matchDepNames" : [ "pnpm" , "helm-unittest" ] ,
2024-02-27 08:43:16 +00:00
"matchUpdateTypes" : [ "minor" , "patch" ] ,
"automerge" : true
} ,
2024-04-23 22:46:36 +00:00
{
"description" : "Automerge digest updates" ,
"matchUpdateTypes" : [ "digest" ] ,
"automerge" : true
} ,
2023-12-07 15:56:12 +00:00
{
2024-08-16 12:58:57 +00:00
"description" : "Separate minor and patch updates for k3s" ,
2024-08-22 12:35:12 +02:00
"matchDatasources" : [ "github-releases" ] ,
2024-08-16 12:58:57 +00:00
"matchPackageNames" : [ "k3s-io/k3s" ] ,
2024-08-22 12:35:12 +02:00
"separateMultipleMinor" : true ,
2023-12-07 15:56:12 +00:00
"separateMinorPatch" : true
} ,
{
2024-08-22 12:35:12 +02:00
"description" : "No automerge for k3s major and minor updates" ,
"matchDatasources" : [ "github-releases" ] ,
2024-08-16 12:58:57 +00:00
"matchPackageNames" : [ "k3s-io/k3s" ] ,
2023-12-07 15:56:12 +00:00
"matchUpdateTypes" : [ "major" , "minor" ] ,
"automerge" : false
2024-04-23 22:46:36 +00:00
} ,
2024-08-22 12:35:12 +02:00
{
"description" : "Workaround for k3s https://github.com/visualon/renovate-config/blob/main/k3s.json#L8 https://github.com/renovatebot/renovate/pull/30957" ,
"matchDatasources" : [ "github-releases" ] ,
"matchPackageNames" : [ "k3s-io/k3s" ] ,
"allowedVersions" : "/.+/"
} ,
2024-04-23 22:46:36 +00:00
{
"description" : "Use test scope for forgejo ci tests" ,
2024-08-22 10:31:16 +02:00
"matchFileNames" : [ "ci/*.yaml" ] ,
2024-04-23 22:46:36 +00:00
"additionalBranchPrefix" : "ci-forgejo-" ,
"semanticCommitType" : "ci" ,
2024-07-25 14:29:52 +02:00
"semanticCommitScope" : "forgejo" ,
2024-07-25 14:58:24 +02:00
"groupName" : "experimental docker digests" ,
2024-04-23 22:46:36 +00:00
"extends" : [ "schedule:daily" ]
2024-05-30 08:47:12 +02:00
} ,
2024-07-25 14:48:52 +02:00
{
2024-07-25 14:58:24 +02:00
"description" : "Disable updates for forgejo ci tests" ,
2024-08-22 10:31:16 +02:00
"matchFileNames" : [ "ci/*.yaml" ] ,
2024-07-25 14:58:24 +02:00
"matchUpdateTypes" : [ "major" , "minor" , "patch" ] ,
2024-07-25 14:48:52 +02:00
"enabled" : false
} ,
2024-05-30 08:47:12 +02:00
{
"description" : "branch automerge not possible" ,
2024-07-26 06:14:40 +00:00
"automergeType" : "pr" ,
"matchPackageNames" : [ "/.+/" ]
2023-01-04 15:22:17 +01:00
}
] ,
2023-12-06 11:33:03 +01:00
"customManagers" : [
2023-01-04 15:22:17 +01:00
{
2023-04-17 10:21:27 +00:00
"description" : "Update forgeo version in chart" ,
2023-12-06 11:33:03 +01:00
"customType" : "regex" ,
2023-01-04 15:22:17 +01:00
"fileMatch" : [ "^Chart\\.yaml$" ] ,
"matchStrings" : [ "appVersion: (?<currentValue>.+?)\\s" ] ,
"depNameTemplate" : "forgejo" ,
2024-05-30 20:13:08 +00:00
"packageNameTemplate" : "code.forgejo.org/forgejo/forgejo" ,
2023-01-04 15:22:17 +01:00
"datasourceTemplate" : "docker"
2023-04-17 11:40:06 +02:00
} ,
2023-12-06 11:33:03 +01:00
{
"description" : "Detect helm-unittest yaml schema file" ,
"customType" : "regex" ,
"fileMatch" : [ ".vscode/settings\\.json$" ] ,
"matchStrings" : [
2024-03-20 15:55:09 +01:00
"https://raw\\.githubusercontent\\.com/helm-unittest/helm-unittest/(?<currentValue>v[0-9.]+?)/schema/helm-testsuite\\.json"
2023-12-06 11:33:03 +01:00
] ,
2024-03-20 15:55:09 +01:00
"depNameTemplate" : "helm-unittest" ,
"packageNameTemplate" : "helm-unittest/helm-unittest" ,
2023-12-06 11:33:03 +01:00
"datasourceTemplate" : "github-releases"
2023-12-07 15:56:12 +00:00
} ,
{
"customType" : "regex" ,
2024-08-16 12:58:57 +00:00
"description" : "Update k3s kubernetes references" ,
2024-03-20 15:55:09 +01:00
"fileMatch" : [ "^\\.forgejo/workflows/[^/]+\\.ya?ml$" ] ,
2024-08-16 12:58:57 +00:00
"matchStrings" : [ " +- (?<currentValue>.+?) # renovate: k3s\\n" ] ,
"depNameTemplate" : "k3s" ,
"packageNameTemplate" : "k3s-io/k3s" ,
"datasourceTemplate" : "github-releases"
2023-01-04 07:37:30 +00:00
}
2024-07-25 14:29:52 +02:00
] ,
"helm-values" : {
2024-08-22 12:35:12 +02:00
"fileMatch" : [ "^ci/.+\\.yaml$" ]
2024-07-25 14:29:52 +02:00
}
2023-01-04 07:37:30 +00:00
}