AtomLinter / linter-eslint-node

ESLint plugin for Atom/Pulsar Linter (v8 and above)
https://web.pulsar-edit.dev/packages/linter-eslint-node
MIT License
4 stars 3 forks source link

Stale issue bot #40

Open scagood opened 1 year ago

scagood commented 1 year ago

It might be worth including a stale issues bot, we could use the stale action

something like .github/workflows/stale.yml:

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

permissions:
  issues: write
  pull-requests: write

jobs:
  stale:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/stale@v8
        with:
          stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
          close-issue-message: 'This issue was closed because it has been stalled for 30 days with no activity.'
          days-before-stale: 30
          days-before-close: 5
          days-before-pr-close: -1 # Never close a PR
savetheclocktower commented 1 year ago

I think it's fine to close an issue if we need more information from the reporter and never get it, but if it's just something that we haven't gotten around to yet, then I'd want it to stay open. If there's any way to capture that nuance with a bot, then I'd be OK with it.

scagood commented 1 year ago

There are exempt-issue-labels