Skip to content

Commit

Permalink
chore(config): migrate renovate config in {{packageFile}} (runatlanti…
Browse files Browse the repository at this point in the history
…s#4818)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
  • Loading branch information
4 people authored and terakoya76 committed Dec 31, 2024
1 parent 21f1774 commit 5f38aaa
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,29 @@
},
packageRules: [
{
"matchFileNames": ["package.json"],
"enabled": false
matchFileNames: [
'package.json',
],
enabled: false,
},
{
matchFileNames: [
'testing/**',
],
matchPackagePatterns: [
'conftest',
],
additionalBranchPrefix: '{{packageFileDir}}-',
groupName: 'conftest-testing',
matchPackageNames: [
'/conftest/',
],
},
{
ignorePaths: [
'testing/**',
],
matchPackagePatterns: [
'github-actions',
],
groupName: 'github-',
matchPackageNames: [
'/github-actions/',
],
},
{
matchDatasources: [
Expand All @@ -69,7 +71,7 @@
'golang',
],
versioning: 'go',
groupName: 'go'
groupName: 'go',
},
],
customManagers: [
Expand All @@ -85,7 +87,7 @@
// ENV DEFAULT_TERRAFORM_VERSION=x.x.x
// # renovate: datasource=github-releases depName=open-policy-agent/conftest
// ARG DEFAULT_CONFTEST_VERSION=x.x.x
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s(ARG|ENV) .*?_VERSION=(?<currentValue>.*)\\s",
'renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s(ARG|ENV) .*?_VERSION=(?<currentValue>.*)\\s',
],
versioningTemplate: '{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}',
extractVersionTemplate: '^v(?<version>\\d+\\.\\d+\\.\\d+)',
Expand Down

0 comments on commit 5f38aaa

Please sign in to comment.