Skip to content

Commit

Permalink
feat: add support for generic yaml comments
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippHeuer committed Oct 14, 2023
1 parent 7efcd36 commit af2a588
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"github>philippheuer/renovate-config:lib-java-group",
"github>philippheuer/renovate-config:lib-java-version",
"github>philippheuer/renovate-config:lib-java-javadocio",
"github>philippheuer/renovate-config:lib-yaml-generic",
"github>philippheuer/renovate-config:lib-docusaurus",
"github>philippheuer/renovate-config:lib-exclude"
],
Expand Down
14 changes: 14 additions & 0 deletions lib-yaml-generic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"regexManagers": [
{
"fileMatch": [
".*\\.yml$",
".*\\.yaml$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\r?\n.*: \"(?<currentValue>.*)\""
]
}
]
}

0 comments on commit af2a588

Please sign in to comment.