Merge pull request 'chore(renovate): optimize config' (#4023) from viceice/renovate-optimize into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4023
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Victoria <efertone@noreply.codeberg.org>
This commit is contained in:
Earl Warren 2024-06-05 13:29:33 +00:00
commit d7aaa0c6ef

View file

@ -28,7 +28,8 @@
"python", "python",
"golang", "golang",
"docker.io/golang", "docker.io/golang",
"docker.io/library/golang" "docker.io/library/golang",
"mcr.microsoft.com/devcontainers/go"
], ],
"matchUpdateTypes": ["minor"], "matchUpdateTypes": ["minor"],
"dependencyDashboardApproval": true "dependencyDashboardApproval": true
@ -74,7 +75,16 @@
}, },
{ {
"description": "Split minor and patch updates", "description": "Split minor and patch updates",
"matchDepNames": ["vue", "github.com/urfave/cli/v2", "swagger-ui-dist"], "matchDepNames": [
"docker.io/golang",
"docker.io/library/golang",
"github.com/urfave/cli/v2",
"go",
"golang",
"python",
"swagger-ui-dist",
"vue"
],
"separateMinorPatch": true "separateMinorPatch": true
}, },
{ {
@ -89,6 +99,13 @@
"matchDepNames": ["ghcr.io/visualon/renovate"], "matchDepNames": ["ghcr.io/visualon/renovate"],
"prPriority": 10 "prPriority": 10
}, },
{
"description": "Update go patch with higher prio to come through rate limit",
"matchDepNames": ["go", "golang", "docker.io/golang", "docker.io/library/golang"],
"matchUpdateTypes": ["patch"],
"prPriority": 10,
"schedule": ["at any time"]
},
{ {
"description": "Disable actions/cascading-pr for now <https://github.com/renovatebot/renovate/issues/28120>", "description": "Disable actions/cascading-pr for now <https://github.com/renovatebot/renovate/issues/28120>",
"matchDepNames": ["actions/cascading-pr"], "matchDepNames": ["actions/cascading-pr"],
@ -99,23 +116,23 @@
"description": "Automerge some packages when CI succeeds", "description": "Automerge some packages when CI succeeds",
"extends": ["packages:linters", "packages:test"], "extends": ["packages:linters", "packages:test"],
"matchDepNames": [ "matchDepNames": [
"github.com/golangci/golangci-lint/cmd/golangci-lint", "github.com/golangci/golangci-lint/cmd/golangci-lint",
"github.com/go-testfixtures/testfixtures", "github.com/go-testfixtures/testfixtures",
"github.com/PuerkitoBio/goquery", "github.com/PuerkitoBio/goquery",
"happy-dom", "happy-dom",
"markdownlint-cli", "markdownlint-cli",
"updates", "updates",
"vite-string-plugin", "vite-string-plugin",
"@vue/test-utils" "@vue/test-utils"
], ],
"matchPackagePrefixes": [ "matchPackagePrefixes": [
"@eslint-community/", "@eslint-community/",
"@playwright/", "@playwright/",
"@stoplight/spectral-cli", "@stoplight/spectral-cli",
"@stylistic/", "@stylistic/",
"ghcr.io/devcontainers/features/", "ghcr.io/devcontainers/features/",
"ghcr.io/devcontainers-contrib/features/", "ghcr.io/devcontainers-contrib/features/",
"mcr.microsoft.com/devcontainers/" "mcr.microsoft.com/devcontainers/"
], ],
"automerge": true "automerge": true
}, },
@ -126,7 +143,7 @@
}, },
{ {
"description": "disallow `eslint-plugin-no-use-extend-native` v0.6.0+, requires eslint v9", "description": "disallow `eslint-plugin-no-use-extend-native` v0.6.0+, requires eslint v9",
"matchDepNames":["eslint-plugin-no-use-extend-native"], "matchDepNames": ["eslint-plugin-no-use-extend-native"],
"allowedVersions": "<0.6.0" "allowedVersions": "<0.6.0"
} }
], ],