fixed creating prs and returning early

This commit is contained in:
2022-09-21 22:46:55 +02:00
parent f4290d8300
commit be40a497ca
6 changed files with 28 additions and 17 deletions

View File

@@ -189,8 +189,9 @@ func (pr *ProcessRepos) commit(ctx context.Context, area *storage.Area, repo *pr
}
if status.IsClean() {
// TODO: check for pr
pr.logger.Info("Returning early, as no modifications are detected")
return nil
//return nil
}
err = pr.git.Commit(ctx, repo)