stale icon indicating copy to clipboard operation
stale copied to clipboard

[Feature Request] Support for Discussions

Open shamoon opened this issue 1 year ago • 11 comments

Description: Now that GH supports closing discussions it would be awesome to have support here. Thanks for considering

Justification: Discussions can now be closed.

shamoon avatar Apr 17 '23 19:04 shamoon

name: 'Close stale issues and PRs' on: schedule: - cron: '30 1 * * *'

jobs: stale: runs-on: ubuntu-latest steps: - uses: actions/stale@v8 with: exempt-issue-assignees: 'marco,polo' exempt-pr-assignees: 'marco'

113451 avatar Apr 18 '23 00:04 113451

Hello @shamoon, thanks for the suggesiton, we are starting to investigate the issue

dsame avatar Apr 18 '23 07:04 dsame

Just adding some support to this ask - this would be a great addition to this action!

jricciardi avatar Jun 26 '23 20:06 jricciardi

Looking forward to this!

dai-shi avatar Jul 31 '23 09:07 dai-shi

Hi guys, is there any progress made or planned on it? Looking forward to it as well

hugtalbot avatar Sep 15 '23 08:09 hugtalbot

This could be useful too: https://github.blog/changelog/2023-10-10-filter-answered-discussions-through-the-graphql-api/ Like close stale & answered discussions

Also seems to be graphql api only (so is current discussions API support)

shamoon avatar Oct 11 '23 02:10 shamoon

I've implemented a workflow using graph API for stale discussions and was thinking of doing a open-source action to cater for it, when I found this issue.

If you like, I can try working on it :)

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

we did it as well using GraphQL API here

hugtalbot avatar Mar 14 '24 16:03 hugtalbot

Me three :)

https://github.com/paperless-ngx/paperless-ngx/blob/43ec154bc2f7bca35fb1910c2abd63e568c62c09/.github/workflows/repo-maintenance.yml#L57-L281

shamoon avatar Mar 14 '24 16:03 shamoon

@shamoon @hugtalbot @dai-shi 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

Nice work! Will definitely check it out.

shamoon avatar Mar 16 '24 18:03 shamoon