diff --git a/modules/interact/pull_merge.go b/modules/interact/pull_merge.go index d1c9e50..0ea3606 100644 --- a/modules/interact/pull_merge.go +++ b/modules/interact/pull_merge.go @@ -40,6 +40,8 @@ func MergePull(ctx *context.TeaContext) error { // getPullIndex interactively determines the PR index func getPullIndex(ctx *context.TeaContext, branch string) (int64, error) { + // FIXME: pagination to loop over all PRs. Currently only the first page is shown + // note: for repos with many PRs, this may cause latency prs, _, err := ctx.Login.Client().ListRepoPullRequests(ctx.Owner, ctx.Repo, gitea.ListPullRequestsOptions{ State: gitea.StateOpen, })