diff --git a/pkg/config/config.go b/pkg/config/config.go index dc5b197d..c512efec 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -459,6 +459,8 @@ type Update struct { GitHubMonitor *GitHubMonitor `json:"github,omitempty" yaml:"github,omitempty"` // The configuration block for transforming the `package.version` into an APK version VersionTransform []VersionTransform `json:"version-transform,omitempty" yaml:"version-transform,omitempty"` + // Prefix filter to apply when searching releases + FilterPrefix string `json:"filter-prefix,omitempty" yaml:"filter-prefix,omitempty"` } // ReleaseMonitor indicates using the API for https://release-monitoring.org/ diff --git a/pkg/config/schema.json b/pkg/config/schema.json index ddd6e838..7241c088 100644 --- a/pkg/config/schema.json +++ b/pkg/config/schema.json @@ -879,6 +879,10 @@ }, "type": "array", "description": "The configuration block for transforming the `package.version` into an APK version" + }, + "filter-prefix": { + "type": "string", + "description": "Prefix filter to apply when searching releases" } }, "additionalProperties": false,