Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Avoid paginating over all pull requests #165

Closed
@kyeah

Description

@kyeah

getClosedIssues usessince to grab only the needed issues:

const{data:issues}=awaitthis.issues.listIssues({state:'closed',since:releaseRanges[releaseRanges.length-1][1].date});

getMergedPullRequests should do the same instead of paginating over all pull requests in the repo, which can take a while for large projects. If there's nosince param, maybe there's a way to sort by merge time, or we could could potentially uselistIssues as an initial list of all the PR issues that have been updated since the date, and then short-circuit out ofgetMergedPullRequests once it's seen all of them? 🤷‍

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp