github: Add close-invalid-bot.yaml
The generic stale issue tool wont close an issue that has comments after the initial invalid message. Add a bot to close invalid issues. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
11
.github/workflows/stale-issue-bot.yaml
vendored
11
.github/workflows/stale-issue-bot.yaml
vendored
@@ -29,14 +29,3 @@ jobs:
|
||||
exempt-issue-labels: 'enhancement,bug'
|
||||
days-before-stale: 35
|
||||
days-before-close: 7
|
||||
invalid:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
stale-issue-label: invalid
|
||||
stale-pr-label: invalid
|
||||
days-before-stale: -1
|
||||
days-before-close: 2
|
||||
remove-stale-when-updated: false
|
||||
|
||||
Reference in New Issue
Block a user