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 support for top upvoted discussion/ideas #95

Open rickstaa opened 2 years ago

rickstaa commented 2 years ago

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

Currently, feature requests found in the Discussions tab (i.e.💡Ideas) are not included in the top issues dashboard.

Describe the solution you'd like

It would be nice if we would have a way to also include this discussion category in the top_features section of the top issues dashboard. Since discussions use upvotes instead of reactions for these items, the upvoteCount should be counted instead of 👍🏻 (see https://docs.github.com/en/graphql/reference/objects#discussion).

rickstaa commented 1 year ago

As there currently is no way to close a discussion when a feature has been implemented, this feature has to be implemented using a completed label. This behaviour will improve if https://github.com/orgs/community/discussions/3097 gets implemented. Let's wait for that change to take place.