mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 19:11:25 +01:00
fix(pr): review decision ignores comment reviews, paged review list, pending review comments hidden, team request names (follow gh)
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
19 files changed
+258
-50
No files matched your search
@@ -149,7 +149,7 @@ pull request, or mark it as a draft or ready for review.`, Annotations: pullArgu
|
||||
}
|
||||
_ = cmd.RegisterFlagCompletionFunc("base", a.completeBranches())
|
||||
_ = cmd.RegisterFlagCompletionFunc("milestone", a.completeMilestones())
|
||||
cmd.ValidArgsFunction = a.completePulls("open")
|
||||
cmd.ValidArgsFunction = firstArg(a.completePulls("open"))
|
||||
cmd.Example = `$ tea pr edit 13 --title "Add login support" --add-reviewer carol
|
||||
$ tea pr edit --base develop
|
||||
$ tea pr edit 13 --editor`
|
||||
@@ -206,7 +206,7 @@ removes or adds that marker.`, Annotations: pullArgumentsAnnotation(nil), Args:
|
||||
return a.jsonResult(cmd, item)
|
||||
}}
|
||||
cmd.Flags().BoolVar(&undo, "undo", false, "Turn the pull request back into a draft")
|
||||
cmd.ValidArgsFunction = a.completePulls("open")
|
||||
cmd.ValidArgsFunction = firstArg(a.completePulls("open"))
|
||||
cmd.Example = `$ tea pr ready
|
||||
$ tea pr ready 15
|
||||
$ tea pr ready 15 --undo`
|
||||
|
||||
Reference in new issue
Block a user