Skip to content

Commit

Permalink
fix: add more ignored App
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Apr 11, 2022
1 parent 993c787 commit 9c65388
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/repository/repository_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,13 @@ func (r *Repository) getCheckRunsState(ctx context.Context, pr *github.PullReque
return Success, nil
}

ignoredApps := []string{"dependabot", "renovate", "github-pages"}

var msg []string
for _, v := range checkSuites.CheckSuites {
slug := v.GetApp().GetSlug()

if (slug == "dependabot" || slug == "renovate") && v.GetStatus() == "queued" {
if contains(ignoredApps, slug) {
continue
}

Expand Down

0 comments on commit 9c65388

Please sign in to comment.