Skip to content

Commit

Permalink
match Renovate removing support for various matching options in packa…
Browse files Browse the repository at this point in the history
…ge rules

ExcludePackagePatterns, MatchPackagePatterns and MatchPackagePrefixes
have all been subsumed into MatchPackageNames which has gained support
for regex matches.

Ref: e.g. <renovatebot/renovate#30621>
  • Loading branch information
majewsky committed Aug 7, 2024
1 parent 6f1d525 commit ca341b5
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions internal/core/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,14 @@ type SecurityChecksWorkflowConfig struct {
}

type PackageRule struct {
ExcludePackagePatterns []string `yaml:"excludePackagePatterns" json:"excludePackagePatterns,omitempty"`
MatchPackageNames []string `yaml:"matchPackageNames" json:"matchPackageNames,omitempty"`
MatchPackagePatterns []string `yaml:"matchPackagePatterns" json:"matchPackagePatterns,omitempty"`
MatchPackagePrefixes []string `yaml:"matchPackagePrefixes" json:"matchPackagePrefixes,omitempty"`
MatchUpdateTypes []string `yaml:"matchUpdateTypes" json:"matchUpdateTypes,omitempty"`
MatchDepTypes []string `yaml:"matchDepTypes" json:"matchDepTypes,omitempty"`
MatchFiles []string `yaml:"matchFiles" json:"matchFiles,omitempty"`
AllowedVersions string `yaml:"allowedVersions" json:"allowedVersions,omitempty"`
AutoMerge bool `yaml:"automerge" json:"automerge,omitempty"`
EnableRenovate *bool `yaml:"enabled" json:"enabled,omitempty"`
GroupName string `yaml:"groupName" json:"groupName,omitempty"`
MatchPackageNames []string `yaml:"matchPackageNames" json:"matchPackageNames,omitempty"`
MatchUpdateTypes []string `yaml:"matchUpdateTypes" json:"matchUpdateTypes,omitempty"`
MatchDepTypes []string `yaml:"matchDepTypes" json:"matchDepTypes,omitempty"`
MatchFiles []string `yaml:"matchFiles" json:"matchFiles,omitempty"`
AllowedVersions string `yaml:"allowedVersions" json:"allowedVersions,omitempty"`
AutoMerge bool `yaml:"automerge" json:"automerge,omitempty"`
EnableRenovate *bool `yaml:"enabled" json:"enabled,omitempty"`
GroupName string `yaml:"groupName" json:"groupName,omitempty"`
}

// RenovateConfig appears in type Configuration.
Expand Down

0 comments on commit ca341b5

Please sign in to comment.