loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request 'Migrate renovate config' (#4708) from renovate/migrate-config into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4708
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>

+120 -47
+120 -47
renovate.json
··· 22 22 ], 23 23 "semanticCommits": "disabled", 24 24 "automergeStrategy": "merge-commit", 25 - "postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths", "npmDedupe"], 25 + "postUpdateOptions": [ 26 + "gomodTidy", 27 + "gomodUpdateImportPaths", 28 + "npmDedupe" 29 + ], 26 30 "prConcurrentLimit": 10, 27 31 "internalChecksFilter": "strict", 28 32 "osvVulnerabilityAlerts": true, 29 - "labels": ["dependency-upgrade"], 33 + "labels": [ 34 + "dependency-upgrade" 35 + ], 30 36 "packageRules": [ 31 37 { 32 38 "description": "Require approval for go and python minor version", ··· 38 44 "docker.io/library/golang", 39 45 "mcr.microsoft.com/devcontainers/go" 40 46 ], 41 - "matchUpdateTypes": ["minor"], 47 + "matchUpdateTypes": [ 48 + "minor" 49 + ], 42 50 "dependencyDashboardApproval": true 43 51 }, 44 52 { ··· 57 65 "github.com/google/pprof", 58 66 "github.com/golangci/misspell/cmd/misspell" 59 67 ], 60 - "extends": ["schedule:quarterly"] 68 + "extends": [ 69 + "schedule:quarterly" 70 + ] 61 71 }, 62 72 { 63 73 "description": "elasticsearch CI images are published about once a month and do not use semantic versioning or short tags", 64 - "matchDepNames": ["elasticsearch"], 65 - "extends": ["schedule:quarterly"] 74 + "matchDepNames": [ 75 + "elasticsearch" 76 + ], 77 + "extends": [ 78 + "schedule:quarterly" 79 + ] 66 80 }, 67 81 { 68 82 "description": "devcontainer is an optional tool used by some Forgejo contributors when working on the codebase", 69 - "matchPackagePrefixes": [ 70 - "ghcr.io/devcontainers/features/", 71 - "ghcr.io/devcontainers-contrib/features/" 83 + "groupName": "devcontainer packages", 84 + "extends": [ 85 + "schedule:quarterly" 72 86 ], 73 - "groupName": "devcontainer packages", 74 - "extends": ["schedule:quarterly"], 75 - "automerge": true 87 + "automerge": true, 88 + "matchPackageNames": [ 89 + "ghcr.io/devcontainers/features/{/,}**", 90 + "ghcr.io/devcontainers-contrib/features/{/,}**" 91 + ] 76 92 }, 77 93 { 78 94 "description": "Group golang packages", ··· 86 102 }, 87 103 { 88 104 "description": "Group nodejs packages", 89 - "matchDepNames": ["node", "docker.io/node", "docker.io/library/node"], 105 + "matchDepNames": [ 106 + "node", 107 + "docker.io/node", 108 + "docker.io/library/node" 109 + ], 90 110 "groupName": "nodejs packages", 91 111 "versionCompatibility": "^(?<version>[^-]+)(?<compatibility>-.*)?$", 92 112 "versioning": "node" 93 113 }, 94 114 { 95 115 "description": "Automerge renovate updates", 96 - "matchDatasources": ["docker"], 97 - "matchPackageNames": ["ghcr.io/visualon/renovate"], 98 - "matchUpdateTypes": ["minor", "patch", "digest"], 116 + "matchDatasources": [ 117 + "docker" 118 + ], 119 + "matchPackageNames": [ 120 + "ghcr.io/visualon/renovate" 121 + ], 122 + "matchUpdateTypes": [ 123 + "minor", 124 + "patch", 125 + "digest" 126 + ], 99 127 "automerge": true 100 128 }, 101 129 { 102 130 "description": "x/tools/* are used in the CI only and upgraded together", 103 - "matchPackagePrefixes": [ 104 - "golang.org/x/tools" 131 + "matchUpdateTypes": [ 132 + "minor", 133 + "patch", 134 + "digest" 105 135 ], 106 - "matchUpdateTypes": ["minor", "patch", "digest"], 107 136 "automerge": true, 108 - "groupName": "x/tools" 137 + "groupName": "x/tools", 138 + "matchPackageNames": [ 139 + "golang.org/x/tools{/,}**" 140 + ] 109 141 }, 110 142 { 111 143 "description": "Split minor and patch updates", ··· 123 155 }, 124 156 { 125 157 "description": "Automerge patch updates", 126 - "matchDepNames": ["vue", "github.com/urfave/cli/v2", "swagger-ui-dist"], 127 - "matchUpdateTypes": ["patch"], 158 + "matchDepNames": [ 159 + "vue", 160 + "github.com/urfave/cli/v2", 161 + "swagger-ui-dist" 162 + ], 163 + "matchUpdateTypes": [ 164 + "patch" 165 + ], 128 166 "automerge": true 129 167 }, 130 168 { 131 169 "description": "Update renovate with higher prio to come through rate limit", 132 - "matchDatasources": ["docker"], 133 - "matchPackageNames": ["ghcr.io/visualon/renovate"], 134 - "extends": ["schedule:weekly"], 170 + "matchDatasources": [ 171 + "docker" 172 + ], 173 + "matchPackageNames": [ 174 + "ghcr.io/visualon/renovate" 175 + ], 176 + "extends": [ 177 + "schedule:weekly" 178 + ], 135 179 "prPriority": 10, 136 180 "groupName": "renovate" 137 181 }, ··· 143 187 "docker.io/golang", 144 188 "docker.io/library/golang" 145 189 ], 146 - "matchUpdateTypes": ["patch"], 190 + "matchUpdateTypes": [ 191 + "patch" 192 + ], 147 193 "prPriority": 10, 148 - "schedule": ["at any time"] 194 + "schedule": [ 195 + "at any time" 196 + ] 149 197 }, 150 198 { 151 199 "description": "Disable actions/cascading-pr for now <https://github.com/renovatebot/renovate/issues/28120>", 152 - "matchDepNames": ["actions/cascading-pr"], 153 - "matchManagers": ["github-actions"], 200 + "matchDepNames": [ 201 + "actions/cascading-pr" 202 + ], 203 + "matchManagers": [ 204 + "github-actions" 205 + ], 154 206 "enabled": false 155 207 }, 156 208 { 157 209 "description": "Automerge some packages when CI succeeds", 158 - "extends": ["packages:linters", "packages:test"], 210 + "extends": [ 211 + "packages:linters", 212 + "packages:test" 213 + ], 159 214 "matchDepNames": [ 160 215 "github.com/editorconfig-checker/editorconfig-checker/v2/cmd/editorconfig-checker", 161 216 "github.com/golangci/golangci-lint/cmd/golangci-lint", ··· 168 223 "vite-string-plugin", 169 224 "@vue/test-utils" 170 225 ], 171 - "matchPackagePrefixes": [ 172 - "@eslint-community/", 173 - "@playwright/", 174 - "@stoplight/spectral-cli", 175 - "@stylistic/", 176 - "mcr.microsoft.com/devcontainers/" 177 - ], 178 - "automerge": true 226 + "automerge": true, 227 + "matchPackageNames": [ 228 + "@eslint-community/{/,}**", 229 + "@playwright/{/,}**", 230 + "@stoplight/spectral-cli{/,}**", 231 + "@stylistic/{/,}**", 232 + "mcr.microsoft.com/devcontainers/{/,}**" 233 + ] 179 234 }, 180 235 { 181 236 "description": "Hold back on some package updates for a few days", 182 - "matchDepNames": ["monaco-editor"], 237 + "matchDepNames": [ 238 + "monaco-editor" 239 + ], 183 240 "minimumReleaseAge": "30 days" 184 241 }, 185 242 { 186 243 "description": "disallow `eslint-plugin-no-use-extend-native` v0.6.0+, requires eslint v9", 187 - "matchDepNames": ["eslint-plugin-no-use-extend-native"], 244 + "matchDepNames": [ 245 + "eslint-plugin-no-use-extend-native" 246 + ], 188 247 "allowedVersions": "<0.6.0" 189 248 }, 190 249 { 191 250 "description": "Require approval for stable branches (must be last rule to override all others)", 192 - "matchBaseBranches": ["/^v\\d+\\.\\d+\\/forgejo$/"], 251 + "matchBaseBranches": [ 252 + "/^v\\d+\\.\\d+\\/forgejo$/" 253 + ], 193 254 "dependencyDashboardApproval": true, 194 - "schedule": ["at any time"] 255 + "schedule": [ 256 + "at any time" 257 + ] 195 258 } 196 259 ], 197 260 "customManagers": [ 198 261 { 199 262 "description": "Update go-version in forgejo workflows", 200 263 "customType": "regex", 201 - "fileMatch": ["^.forgejo/workflows/.+\\.yml$"], 202 - "matchStrings": ["\\s+go-version: ['\"]?(?<currentValue>.+?)['\"]?\\s"], 264 + "fileMatch": [ 265 + "^.forgejo/workflows/.+\\.yml$" 266 + ], 267 + "matchStrings": [ 268 + "\\s+go-version: ['\"]?(?<currentValue>.+?)['\"]?\\s" 269 + ], 203 270 "depNameTemplate": "go", 204 271 "datasourceTemplate": "golang-version", 205 272 "versioningTemplate": "go-mod-directive" ··· 207 274 { 208 275 "description": "Update node-version in forgejo workflows", 209 276 "customType": "regex", 210 - "fileMatch": ["^.forgejo/workflows/.+\\.yml$"], 211 - "matchStrings": ["\\s+node-version: ['\"]?(?<currentValue>.+?)['\"]?\\s"], 277 + "fileMatch": [ 278 + "^.forgejo/workflows/.+\\.yml$" 279 + ], 280 + "matchStrings": [ 281 + "\\s+node-version: ['\"]?(?<currentValue>.+?)['\"]?\\s" 282 + ], 212 283 "depNameTemplate": "node", 213 284 "datasourceTemplate": "node-version" 214 285 }, 215 286 { 216 287 "description": "Update deps inside Makefile", 217 288 "customType": "regex", 218 - "fileMatch": ["^Makefile$"], 289 + "fileMatch": [ 290 + "^Makefile$" 291 + ], 219 292 "matchStrings": [ 220 293 " \\?= (?<depName>.+?)@(?<currentValue>.+?) # renovate: datasource=(?<datasource>.+?)(?: packageName=(?<packageName>.+?))?( versioning=(?<versioning>.+?))?\\s" 221 294 ]