0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-23 03:48:35 +00:00

chore(config): migrate renovate config (#1632)

chore(config): migrate config .github/renovate.json5

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot] 2024-11-08 20:09:29 -05:00 committed by GitHub
parent 5aaf61ed9a
commit 2e27b4ad0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,53 +1,64 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
"github>bpg/renovate-config",
"github>bpg/renovate-config:automerge-github-actions",
":semanticCommitTypeAll(chore)",
'github>bpg/renovate-config',
'github>bpg/renovate-config:automerge-github-actions',
':semanticCommitTypeAll(chore)',
],
"postUpdateOptions": [
"gomodTidy",
"gomodUpdateImportPaths",
postUpdateOptions: [
'gomodTidy',
'gomodUpdateImportPaths',
],
"ignorePaths": ["howtos/**"],
"rebaseWhen": "behind-base-branch",
"packageRules": [
ignorePaths: [
'howtos/**',
],
rebaseWhen: 'behind-base-branch',
packageRules: [
{
"matchPackagePatterns": [
"*",
semanticCommitScope: 'deps',
matchPackageNames: [
'*',
],
"semanticCommitScope": "deps",
},
{
"matchPackagePrefixes": ["github.com/hashicorp/terraform-plugin-"],
"groupName": ["github.com/hashicorp/terraform-plugin-*"],
},
{
"matchFileNames": [
"tools/go.mod",
"tools/go.sum",
groupName: 'github.com/hashicorp/terraform-plugin-*',
matchPackageNames: [
'github.com/hashicorp/terraform-plugin-{/,}**',
],
"commitMessageExtra": "({{currentVersion}} → {{newVersion}}) in /tools",
"groupName": ["tools"],
},
{
"matchFileNames": [
"examples/**",
"example/**",
"docs/**",
matchFileNames: [
'tools/go.mod',
'tools/go.sum',
],
"semanticCommitScope": "docs",
"automerge": true,
"automergeType": "branch",
"matchUpdateTypes": ["minor", "patch"],
commitMessageExtra: '({{currentVersion}} → {{newVersion}}) in /tools',
groupName: 'tools',
},
{
"matchManagers": ["github-actions"],
"semanticCommitScope": "ci",
matchFileNames: [
'examples/**',
'example/**',
'docs/**',
],
semanticCommitScope: 'docs',
automerge: true,
automergeType: 'branch',
matchUpdateTypes: [
'minor',
'patch',
],
},
{
"matchUpdateTypes": ["major"],
"commitMessagePrefix": "{{semanticCommitType}}({{semanticCommitScope}}):",
matchManagers: [
'github-actions',
],
semanticCommitScope: 'ci',
},
]
{
matchUpdateTypes: [
'major',
],
commitMessagePrefix: '{{semanticCommitType}}({{semanticCommitScope}}):',
},
],
}