Skip to content

Commit

Permalink
feat(Renovate): Generalize raw file regex manager
Browse files Browse the repository at this point in the history
Match any owner and repository in raw GitHub file URLs rather than
hardcoding ScribeMD/.github. Add .yarnrc.yml to the list of files
scanned by this regex manager since the Yarn licenses plugin is a raw
GitHub file.
  • Loading branch information
Kurt-von-Laven committed Aug 23, 2023
1 parent 0439e7e commit c4dbf91
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,13 @@
"depTypeTemplate": "dependencies"
},
{
"fileMatch": ["^\\.mega-linter\\.yaml$"],
"fileMatch": ["^\\.mega-linter\\.yaml$", "^\\.yarnrc\\.yml$"],
"matchStrings": [
"https://raw\\.githubusercontent\\.com/(?<depName>ScribeMD/\\.github)/(?<currentValue>(\\d+\\.){2}\\d+)"
"https://raw\\.githubusercontent\\.com/(?<depName>[^/]+/[^/]+)/v?(?<currentValue>(\\d+\\.){2}\\d+)"
],
"datasourceTemplate": "github-tags",
"depTypeTemplate": "devDependencies"
"depTypeTemplate": "devDependencies",
"extractVersionTemplate": "^v?(?<version>.*)$"
},
{
"fileMatch": ["^\\.mega-linter\\.yaml$"],
Expand Down

0 comments on commit c4dbf91

Please sign in to comment.