Skip to content

Commit

Permalink
ci(renovate): use default preset
Browse files Browse the repository at this point in the history
  • Loading branch information
stempler committed Apr 17, 2024
1 parent 2ebb3dd commit 169d0b6
Showing 1 changed file with 2 additions and 55 deletions.
57 changes: 2 additions & 55 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,60 +1,7 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [ // default presets see https://docs.renovatebot.com/presets-default/
"config:recommended",
"helpers:pinGitHubActionDigestsToSemver",
"security:openssf-scorecard",
extends: [
"github>wetransform/renovate-config:default.json5",
"group:allNonMajor",
":enableVulnerabilityAlertsWithLabel(security)",
],
labels: [
"renovate",
"renovate/{{updateType}}",
],
packageRules: [
{
description: "Update renovatebot/github-action minor/patch updates on Sundays",
matchPackageNames: ["renovatebot/github-action"],
matchUpdateTypes: ["minor", "patch"],
schedule: ["* * * * 0"],
},
],
customManagers: [
{
description: "Update semantic-release in GitHub Action workflows",
customType: "regex",
fileMatch: ["^\\.github\\/(actions|workflows)\\/.+\\.ya?ml$"],
matchStrings: [
"\
semantic_version\\s*:\\s*(\"|')?(?<currentValue>.+)(\"|')?\
(\\s+|\\s+.*)"
],
datasourceTemplate: "npm",
depNameTemplate: "semantic-release"
},
{
description: "Any other file with dependencies",
customType: "regex",
fileMatch: [
"(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$",
],
matchStrings: [
"\
.*renovate:\
\\sdatasource=(?<datasource>.*?)\
\\sdepName=(?<depName>.*?)\
(\\sversioning=(?<versioning>.*?))?\
\n.*(version|Version|VERSION)\\s*(:=|=|:)\\s*\"?(?<currentValue>.*?)\
(@(?<currentDigest>sha256:[a-f0-9]+))?\"?\
(\\s+|\\s+.*)"
],
versioningTemplate: "\
{{#if versioning}}\
{{{versioning}}}\
{{else}}\
semver-coerced\
{{/if}}"
},
],
separateMinorPatch: false,
}

0 comments on commit 169d0b6

Please # to comment.