diff --git a/cmd/pkgdashcli/main.go b/cmd/pkgdashcli/main.go index efba1bf..66dde15 100644 --- a/cmd/pkgdashcli/main.go +++ b/cmd/pkgdashcli/main.go @@ -271,6 +271,9 @@ func Execute(ctx context.Context, gitSource source.SourceControl, mvs map[string logger.Debugf(ctx, fmt.Sprintf("Start close for %s", path)) for _, branch := range cfg.Branches { if err := gitSource.RequestClose(ctx, branch, path); err != nil { + if strings.Contains(err.Error(), "already exists") { + continue + } logger.Fatal(ctx, fmt.Sprintf("failed to close pr: %v", err)) } }