stale
stale copied to clipboard
[Feature Request] Support for Discussions
Description: Now that GH supports closing discussions it would be awesome to have support here. Thanks for considering
Justification: Discussions can now be closed.
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'
Hello @shamoon, thanks for the suggesiton, we are starting to investigate the issue
Just adding some support to this ask - this would be a great addition to this action!
Looking forward to this!
Hi guys, is there any progress made or planned on it? Looking forward to it as well
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)
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 :)
we did it as well using GraphQL API here
Me three :)
https://github.com/paperless-ngx/paperless-ngx/blob/43ec154bc2f7bca35fb1910c2abd63e568c62c09/.github/workflows/repo-maintenance.yml#L57-L281
@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!
Nice work! Will definitely check it out.