Skip to content

Commit aca9f53

Browse files
YAML tag webhook filters. (#1249)
* YAML tag webhook filters. * generated protobuf --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 0475e67 commit aca9f53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webhook/notifier.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ type HTTPClientParams struct {
188188
}
189189

190190
type FilterParams struct {
191-
IncludeEvents []string
192-
ExcludeEvents []string
191+
IncludeEvents []string `yaml:"include_events,omitempty"`
192+
ExcludeEvents []string `yaml:"exclude_events,omitempty"`
193193
}
194194

195195
// ---------------------------------

0 commit comments

Comments
 (0)