Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve the deprecation warning: Partial matches for matchPaths are deprecated. Please use a minimatch glob pattern or switch to matchFiles if you need exact matching #336

Closed
suzuki-shunsuke opened this issue Jan 8, 2023 · 0 comments · Fixed by #337
Labels
bug Something isn't working
Milestone

Comments

@suzuki-shunsuke
Copy link
Member

suzuki-shunsuke commented Jan 8, 2023

https://app.renovatebot.com/dashboard#github/aquaproj/aqua/963509988

WARN: Partial matches for `matchPaths` are deprecated. Please use a minimatch glob pattern or switch to `matchFiles` if you need exact matching.(packageFile="tests/slsa/aqua.yaml")
{
  "rulePath": "aqua.yaml"
}
Partial matches for `matchPaths` are deprecated.
Please use a minimatch glob pattern or
switch to `matchFiles` if you need exact matching.

https://docs.renovatebot.com/configuration-options/#matchpaths

List of strings or glob patterns to match against package files.

minimatch: https://github.com/isaacs/minimatch

aquaYAMLMatchPaths: [
".aqua.yaml",
".aqua.yml",
"aqua.yaml",
"aqua.yml"
],

{
matchPackageNames: utils.githubTagsPackages,
matchPaths: utils.aquaYAMLMatchPaths,
matchDatasources: ["github-releases"],
enabled: false,
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant