ci: stale issues [skip ci]

This commit is contained in:
Baptiste Augrain 2022-10-05 13:56:58 +02:00
parent fadc24f733
commit 10143fdee2
2 changed files with 24 additions and 2 deletions

View File

@ -1,8 +1,8 @@
name: Lock Threads
name: Lock Issues
on:
schedule:
- cron: '0 0 * * Mon'
- cron: '0 2 * * *'
jobs:
lock:
@ -13,3 +13,4 @@ jobs:
github-token: ${{ github.token }}
issue-inactive-days: '90'
pr-inactive-days: '90'
log-output: true

21
.github/workflows/stale.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Stale Issues
on:
schedule:
- cron: '0 1 * * *'
permissions:
issues: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale
with:
days-before-stale: 90
days-before-close: 30
stale-issue-label: stale
stale-issue-message: >
This issue has been automatically marked as stale. **If this issue is still affecting you, please leave any comment**, and we'll keep it open. If you have any new additional information, please include it with your comment!
close-issue-message: >
This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue, please open a new issue.