github-release-notes icon indicating copy to clipboard operation
github-release-notes copied to clipboard

Limits the issue list to 30 while generating release notes

Open amit-mhetre opened this issue 6 years ago • 4 comments

When I try to generate release notes which has issues more than 30, it ignores the the issues after 30th issue. Below is the logs I am getting while generating relase notes.

🤖  - Generate release notes:
===================================
✔ Releases found: 1
✔ Tags found: v1.0, starting_v1.0_implementation
✔ Issues found: 30

May I know, how we can change the count of issues to be consider while generating notes.

amit-mhetre avatar May 20 '19 06:05 amit-mhetre

Hello,

I have the same problem and it seems to be linked to the Github rate limit, anyone has a solution?

Thanks!

SamuelHassine avatar Jun 30 '19 18:06 SamuelHassine

I think this is the root issue: github-tools/github#569. I was managed to bypass this issue by requesting more items. Change this line to add the maximum items per page (as documented here):

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

omerlh avatar Jul 01 '19 04:07 omerlh

per_page: 100

Thanks @omerlh This solution worked for me. But I think it doesn't fetch the issues more than 100 even though we set the number which is greater than 100. Do you have any idea about this? Once again thanks!

amit-mhetre avatar Jul 01 '19 08:07 amit-mhetre

Yep, 100 is the limit :(

omerlh avatar Jul 01 '19 08:07 omerlh