stale icon indicating copy to clipboard operation
stale copied to clipboard

[wishlist] Support for GitHub Discussions?

Open dnwe opened this issue 2 years ago • 3 comments

Description:

Has any thought gone into adding support for moderating GitHub Discussions and labelling them as stale and closing them? I notice that there only appears to be support for using the GraphQL API for Discussions rather than the REST api. Whilst it appears that it would support the mutations needed to list / comment / close/resolve the discussions, it doesn't immediately appear that it has a way of adding labels to them (even though that is supported by the web ui which makes a FORM POST to /org/repo/discussions/labels?number=1234 to add/remove labels)

Justification:

Discussions can fill up with unanswered questions/threads over time and it would be useful to keep them healthy with stale processing in the same way as issues and pull requests

dnwe avatar Jul 19 '23 13:07 dnwe

Hello @dnwe , thanks for you input, the suggestion seems to be reasonable and we will investigate it

dsame avatar Jul 19 '23 13:07 dsame

I think dupe https://github.com/actions/stale/issues/994

shamoon avatar Oct 11 '23 02:10 shamoon

@dnwe As this seems to be rather stale (sorry for my bad joke), I've decided to create this: https://github.com/marketplace/actions/stalesweeper, first official release is now ready and tested and should solve all listed scenarios :) Hope you'll give it a try and maybe a star.

All collaboration are warmly welcome!

steffen-karlsson avatar Mar 16 '24 18:03 steffen-karlsson