This commit is contained in:
2024-12-16 15:50:33 +01:00
parent 50aab4c662
commit f6bd0c10c0
2 changed files with 8 additions and 17 deletions

View File

@@ -40,7 +40,6 @@ func (o *PullRequestSynced) Process(req *common.PullRequestWebhookEvent, git com
// need to verify that submodule in the PR for prjgit
// is still pointing to the HEAD of the PR
pr, _, err := o.gitea.GetPullRequestAndReviews(req.Repository.Owner.Username, req.Repository.Name, req.Number)
log.Print(pr)
if err != nil {
return fmt.Errorf("Cannot fetch PR data from gitea: %w", err)
}