yolo
This commit is contained in:
@@ -12,7 +12,12 @@ func (o *PullRequestReviewed) Process(req *common.PullRequestWebhookEvent, git c
|
||||
return err
|
||||
}
|
||||
|
||||
if prset.IsReviewed(o.gitea) {
|
||||
maintainers, err := FetchProjectMaintainershipData(o.gitea, prset.config.Organization, prset.config.GitProjectName, prset.config.Branch)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if prset.IsApproved(o.gitea, maintainers) {
|
||||
prset.Merge()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user