rickstaa / top-issues-action

Labels and displays the top-upvoted (i.e. 👍) issues and pull requests in your repository.
MIT License
20 stars 1 forks source link

Add time period argument #111

Closed rickstaa closed 1 year ago

rickstaa commented 1 year ago

Is your feature request related to a problem? Please describe.

Currently, the time top issues are shown.

Describe the solution you'd like

It would be great if the action could also show the top issue for different time periods (e.g. the last month or year).

rickstaa commented 1 year ago

Unfortunately, there is currently no easy way to receive the total number of positive/negative reactions for a given period. Currently, the only way to do this is to use GraphQL pagination to loop through all reactions and stop when a certain time period is met. Because of this, I create a feature request in GitHub's community form (see https://github.com/community/community/discussions/39660).