#8 add gitlab #13

Closed
kgorbunov wants to merge 93 commits from kgorbunov/pkgdash:master into master
Showing only changes of commit 38c9e978c7 - Show all commits

View File

@ -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)) logger.Debugf(ctx, fmt.Sprintf("Start close for %s", path))
for _, branch := range cfg.Branches { for _, branch := range cfg.Branches {
if err := gitSource.RequestClose(ctx, branch, path); err != nil { 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)) logger.Fatal(ctx, fmt.Sprintf("failed to close pr: %v", err))
} }
} }