name: 'Stale issues and PRs' | |
on: | |
schedule: | |
- cron: '30 1 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/stale@v4 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: 'The issue had no activity for 30 days, mark with Stale label.' | |
stale-pr-message: 'The pr had no activity for 30 days, mark with Stale label.' | |
days-before-stale: 30 | |
days-before-close: -1 | |
operations-per-run: 700 |