Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 09:54:24 +01:00

chore(renovate): fix rule matching

This commit is contained in:
Michael Kriese 2024-08-29 08:58:23 +02:00
parent c87655b7ff
commit b54f15cf8d
No known key found for this signature in database
GPG key ID: F8D7748549A5986A

View file

@ -18,13 +18,13 @@
"packageRules": [ "packageRules": [
{ {
"description": "Require approval for python minor version", "description": "Require approval for python minor version",
"matchDepNames": ["python"], "matchPackageNames": ["containerbase/python-prebuild", "python"],
"matchUpdateTypes": ["minor"], "matchUpdateTypes": ["minor"],
"dependencyDashboardApproval": true "dependencyDashboardApproval": true
}, },
{ {
"description": "Require dashboard approval for some deps", "description": "Require dashboard approval for some deps",
"matchDepNames": [ "matchPackageNames": [
"docker.io/bitnami/minio", "docker.io/bitnami/minio",
"github.com/go-ap/activitypub", "github.com/go-ap/activitypub",
"github.com/nektos/act", "github.com/nektos/act",
@ -34,7 +34,7 @@
}, },
{ {
"description": "Schedule some deps less frequently", "description": "Schedule some deps less frequently",
"matchDepNames": [ "matchPackageNames": [
"code.forgejo.org/f3/gof3/v3", "code.forgejo.org/f3/gof3/v3",
"github.com/google/pprof", "github.com/google/pprof",
"github.com/golangci/misspell/cmd/misspell" "github.com/golangci/misspell/cmd/misspell"
@ -43,7 +43,7 @@
}, },
{ {
"description": "elasticsearch CI images are published about once a month and do not use semantic versioning or short tags", "description": "elasticsearch CI images are published about once a month and do not use semantic versioning or short tags",
"matchDepNames": ["elasticsearch"], "matchPackageNames": ["elasticsearch"],
"extends": ["schedule:quarterly"] "extends": ["schedule:quarterly"]
}, },
{ {
@ -58,7 +58,7 @@
}, },
{ {
"description": "Group nodejs packages", "description": "Group nodejs packages",
"matchDepNames": [ "matchPackageNames": [
"code.forgejo.org/oci/node", "code.forgejo.org/oci/node",
"docker.io/library/node", "docker.io/library/node",
"docker.io/node", "docker.io/node",
@ -83,7 +83,8 @@
}, },
{ {
"description": "Split minor and patch updates", "description": "Split minor and patch updates",
"matchDepNames": [ "matchPackageNames": [
"containerbase/python-prebuild",
"github.com/urfave/cli/v2", "github.com/urfave/cli/v2",
"python", "python",
"swagger-ui-dist", "swagger-ui-dist",
@ -93,7 +94,11 @@
}, },
{ {
"description": "Automerge patch updates", "description": "Automerge patch updates",
"matchDepNames": ["vue", "github.com/urfave/cli/v2", "swagger-ui-dist"], "matchPackageNames": [
"vue",
"github.com/urfave/cli/v2",
"swagger-ui-dist"
],
"matchUpdateTypes": ["patch"], "matchUpdateTypes": ["patch"],
"automerge": true "automerge": true
}, },
@ -131,35 +136,34 @@
{ {
"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": [ "matchPackageNames": [
"@eslint-community/**",
"@playwright/**",
"@stoplight/spectral-cli",
"@stylistic/**",
"djlint",
"github.com/editorconfig-checker/editorconfig-checker/v2/cmd/editorconfig-checker", "github.com/editorconfig-checker/editorconfig-checker/v2/cmd/editorconfig-checker",
"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",
"mcr.microsoft.com/devcontainers/**",
"mvdan.cc/gofumpt", "mvdan.cc/gofumpt",
"updates", "updates",
"vite-string-plugin", "vite-string-plugin",
"@vue/test-utils" "@vue/test-utils"
], ],
"automerge": true, "automerge": true
"matchPackageNames": [
"@eslint-community/**",
"@playwright/**",
"@stoplight/spectral-cli",
"@stylistic/**",
"mcr.microsoft.com/devcontainers/**"
]
}, },
{ {
"description": "Hold back on some package updates for a few days", "description": "Hold back on some package updates for a few days",
"matchDepNames": ["monaco-editor"], "matchPackageNames": ["monaco-editor"],
"minimumReleaseAge": "30 days" "minimumReleaseAge": "30 days"
}, },
{ {
"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"], "matchPackageNames": ["eslint-plugin-no-use-extend-native"],
"allowedVersions": "<0.6.0" "allowedVersions": "<0.6.0"
}, },
{ {