Skip to content

Commit e42774c

Browse files
adding silence fix
Signed-off-by: rakibhossainctr <rakib.hossain.ctr@sumologic.com>
1 parent e89f7c1 commit e42774c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

backend/pipeline/adapterv1.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ func (a *AdapterV1) Run(ctx context.Context, ref *corev2.ResourceReference, reso
182182
fields["pipeline_workflow"] = workflow.Name
183183
debugFields["pipeline_workflow"] = workflow.Name
184184

185+
if event.Check.IsSilenced {
186+
continue
187+
}
188+
185189
// Process the event through the workflow filters
186190
filtered, err := a.processFilters(ctx, workflow.Filters, event)
187191
if err != nil && !pipeline.ContinueOnError {

0 commit comments

Comments
 (0)