workflow-pr: don't crash when no submodule got changed

eg. config changes only
This commit is contained in:
2025-09-11 10:07:20 +02:00
parent d8034ee04c
commit e269650599

View File

@@ -460,10 +460,10 @@ func (pr *PRProcessor) Process(req *models.PullRequest) error {
continue
}
}
}
if err = pr.UpdatePrjGitPR(prset); err != nil {
return err
if err = pr.UpdatePrjGitPR(prset); err != nil {
return err
}
}
}