Closed nimbinatus closed 4 years ago
I like that idea @nimbinatus
What actions do we need to take to get this started?
I think it's just adding the github action.
maybe something like this? 90 days and 10 days close after? so a total 100 days?
name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days'
days-before-stale: 90
days-before-close: 10
I like this idea
There's also stuff like Stalebot: https://github.com/apps/stalebot
However, I much prefer the actions. My only question is really how long as I imagine a lot of jobs here seem to close within a month. Maybe I'm wrong, though, and I think we can just track the first few to get a timing sense and revisit later.
I need to handle a couple things today before end of day, so feel free to add it and close this issue if you do.
One thing that might make this board a bit more useful would be to add an Action that marks a job post (issue) as stale and then closes it after a certain period of time so that roles don't stay up forever. Maybe something like https://github.com/actions/stale?
cc @jjasghar and anyone else with a thought on this