Setup a close stale issues action
Add workflow_dispatch trigger to issues_stale.yml Only process 'waiting' issues with stale action Set days before stale and close for issues to 14 Disable dry-run for stale issues action
This commit is contained in:
parent
83254b320e
commit
ecfad66767
1 changed files with 21 additions and 0 deletions
21
.github/workflows/issues_stale.yml
vendored
Normal file
21
.github/workflows/issues_stale.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: Close inactive issues
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 6 * * *"
|
||||
|
||||
jobs:
|
||||
close-issues:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
steps:
|
||||
- uses: actions/stale@v9
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
days-before-stale: 14
|
||||
days-before-close: 14
|
||||
days-before-pr-stale: -1
|
||||
days-before-pr-close: -1
|
||||
any-of-labels: waiting
|
||||
Loading…
Reference in a new issue