obsidian-export/.github/renovate.json5
Nick Groenen 768ebb3ecd
Update groupName for pulldown-cmark in renovate config
66108b5128 didn't actually result in a
grouped update for pulldown-cmark and pulldown-cmark-to-cmark, both of
which have available updates and both of which must be upgraded at the
same time in this instance.

Reading the renovate documentation, it is unclear why this configuration
didn't work, but my best guess is that there's some unexpected behavior
when groupName == packageName.
2024-08-24 13:12:42 +02:00

58 lines
1.8 KiB
Plaintext

{
extends: [
"config:best-practices",
"schedule:monthly",
// Group updates to linters together in one PR
"group:linters",
],
dependencyDashboard: true,
"labels": ["dependencies"],
lockFileMaintenance: {
enabled: true,
automerge: true
},
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^rust-toolchain\\.toml?$"],
"matchStrings": [
"channel\\s*=\\s*\"(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)\""
],
"depNameTemplate": "rust",
"packageNameTemplate": "rust-lang/rust",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"fileMatch": ["^Justfile$"],
"matchStrings": [
// https://regex101.com/r/vOmY6R/1
// Matching on word boundaries (\b) around start and end ensures we
// match variations like "towncrier==1.2.3" as well as "pipx run
// towncrier==1.2.3", adding some future proofness.
"\".*\\btowncrier==(?<currentValue>.+?)\\b\""
],
"depNameTemplate": "towncrier",
"datasourceTemplate": "pypi"
},
],
packageRules: [
{
matchCategories: ["rust"],
minimumReleaseAge: "3 days",
automerge: true
},
{
// pulldown-cmark and pulldown-cmark-to-mark must be updated in
// lockstep in case of breaking changes, so it's best to group them
// together.
"matchPackagePatterns": ["^pulldown-cmark.*"],
"groupName": "pulldown-cmark (grouped)"
},
],
ignorePaths: [
// Auto-generated by cargo-dist (https://opensource.axo.dev/cargo-dist/)
".github/workflows/release.yml"
]
}