Add stale bot

This commit is contained in:
Jiajie Chen 2025-06-13 17:17:46 +08:00
parent c4f7a376b5
commit a584b3713d

15
.github/workflows/stale.yml vendored Normal file
View file

@ -0,0 +1,15 @@
name: 'Close stale issues and PRs'
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 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
stale-pr-message: 'This pull request is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
days-before-stale: 60
days-before-close: 7