Skip to content

Commit

Permalink
fix: replace matchPackageNames with matchDepNames (#588)
Browse files Browse the repository at this point in the history
https://docs.renovatebot.com/configuration-options/#matchpackagenames

> matchPackageNames will try matching packageName first and then fall back to matching depName.
> If the fallback is used, Renovate will log a warning, because the fallback will be removed in a future release.
> Use matchDepNames instead.
  • Loading branch information
suzuki-shunsuke authored May 28, 2024
1 parent ed3b583 commit a28a80a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@
"matchDatasources": [
"github-releases"
],
"matchPackageNames": [
"matchDepNames": [
"golang/go",
"golang/tools",
"kubernetes/kubectl",
Expand Down Expand Up @@ -553,7 +553,7 @@
"matchDatasources": [
"github-tags"
],
"matchPackageNames": [
"matchDepNames": [
"golang/go",
"golang/tools",
"kubernetes/kubectl",
Expand Down
4 changes: 2 additions & 2 deletions jsonnet/default.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local utils = import 'utils.libsonnet';
// Some packages are updated by github-tags datasource.
// So disable github-releases against those packages.
{
matchPackageNames: utils.githubTagsPackages,
matchDepNames: utils.githubTagsPackages,
matchPaths: utils.aquaYAMLMatchPaths,
matchDatasources: ['github-releases'],
enabled: false,
Expand All @@ -18,7 +18,7 @@ local utils = import 'utils.libsonnet';
},
// github-tags is enabled against only those packages.
{
matchPackageNames: utils.githubTagsPackages,
matchDepNames: utils.githubTagsPackages,
matchPaths: utils.aquaYAMLMatchPaths,
matchDatasources: ['github-tags'],
enabled: true,
Expand Down

0 comments on commit a28a80a

Please sign in to comment.