Add stale action
This commit is contained in:
parent
5b91e3f697
commit
6bdaff48b5
1 changed files with 19 additions and 0 deletions
19
.github/workflows/stale/yml
vendored
Normal file
19
.github/workflows/stale/yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
name: 'Close stale issues and PRs'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v9
|
||||||
|
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.'
|
||||||
|
days-before-stale: 30
|
||||||
|
days-before-close: 5
|
Loading…
Add table
Add a link
Reference in a new issue