workflows: Update stale-issue-bot.yaml to also close invalid tickets
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
c4633f9451
commit
891852ed9c
|
@ -2,7 +2,7 @@
|
||||||
name: "Close stale issues"
|
name: "Close stale issues"
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * *"
|
- cron: '0 0 * * *'
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -29,3 +29,14 @@ jobs:
|
||||||
exempt-issue-labels: 'enhancement,bug'
|
exempt-issue-labels: 'enhancement,bug'
|
||||||
days-before-stale: 21
|
days-before-stale: 21
|
||||||
days-before-close: 7
|
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
|
||||||
|
|
Loading…
Reference in New Issue