common: workaround case when user do not have gitea accounts and cannot get reviews assigned

This commit is contained in:
2025-06-04 14:44:21 +02:00
parent 90cca05b31
commit d37bfaa9d3
2 changed files with 5 additions and 3 deletions

View File

@@ -250,7 +250,7 @@ func (pr *PRProcessor) Process(req *common.PullRequestWebhookEvent) error {
return err
}
err = prset.AssignReviewers(Gitea, maintainers)
prset.AssignReviewers(Gitea, maintainers)
for _, pr := range prset.PRs {
if err := verifyRepositoryConfiguration(pr.PR.Base.Repo); err != nil {