Skip to content

Commit

Permalink
GithubReleaseMonitor: add tagprefix and tagcontains to be used in git…
Browse files Browse the repository at this point in the history
…hub tags filtering

Signed-off-by: ajayk <ajaykemparaj@gmail.com>
  • Loading branch information
ajayk committed Nov 8, 2023
1 parent cf54b36 commit ffdeddc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,10 @@ type GitHubMonitor struct {
StripSuffix string `json:"strip-suffix,omitempty" yaml:"strip-suffix,omitempty"`
// Filter to apply when searching tags on a GitHub repository
TagFilter string `json:"tag-filter,omitempty" yaml:"tag-filter,omitempty"`
// Filter to apply when searching tags on a GitHub repository
TagFilterPrefix string `json:"tag-filter-prefix,omitempty" yaml:"tag-filter-prefix,omitempty"`
// Filter to search tags on the Github tag results
TagFilterContains string `json:"tag-filter-contains,omitempty" yaml:"tag-filter-contains,omitempty"`
// Override the default of using a GitHub release to identify related tag to
// fetch. Not all projects use GitHub releases but just use tags
UseTags bool `json:"use-tag,omitempty" yaml:"use-tag,omitempty"`
Expand Down

0 comments on commit ffdeddc

Please sign in to comment.