diff --git a/internal/pkg/githubapi/github.go b/internal/pkg/githubapi/github.go index 0861466c..83650419 100644 --- a/internal/pkg/githubapi/github.go +++ b/internal/pkg/githubapi/github.go @@ -1161,9 +1161,6 @@ func getPromotionSkipPaths(promotion PromotionInstance) map[string]bool { } } - if perComponentSkippedTargetPaths == nil { - return promotionSkipPaths - } if len(perComponentSkippedTargetPaths) == 0 { return promotionSkipPaths