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