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