mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 01:19:13 +02:00
Add API to update pr headBranch (#12419)
* [API] Add update pr headBranch api Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
5 files changed
+159
-7
No files matched your search
@@ -666,7 +666,7 @@ func ViewPullFiles(ctx *context.Context) {
|
||||
ctx.HTML(200, tplPullFiles)
|
||||
}
|
||||
|
||||
// UpdatePullRequest merge master into PR
|
||||
// UpdatePullRequest merge PR's baseBranch into headBranch
|
||||
func UpdatePullRequest(ctx *context.Context) {
|
||||
issue := checkPullInfo(ctx)
|
||||
if ctx.Written() {
|
||||
|
||||
Reference in new issue
Block a user