新增: 合并请求审查需审查权限

This commit is contained in:
2022-06-30 11:00:18 +08:00
parent 76cc185a1d
commit a608803aa8
3 changed files with 15 additions and 1 deletions

View File

@@ -176,6 +176,7 @@ class PullRequestsController < ApplicationController
@issue_assign_to = @issue.get_assign_user
@gitea_pull = Gitea::PullRequest::GetService.call(@owner.login,
@repository.identifier, @pull_request.gitea_number, current_user&.gitea_token)
@last_review = @pull_request.issue.reviews.take
end
def pr_merge