Mark stale issues and pull requests #579
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mark stale issues and pull requests | |
on: | |
schedule: | |
- cron: '17 21 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: 'This issue has not been updated in 90 days and is being marked as stale.' | |
stale-pr-message: 'This pull request has not been updated in 45 days and is being marked as stale. It will automatically be closed in 30 days if not updated by then.' | |
stale-issue-label: 'stale' | |
stale-pr-label: 'stale' | |
days-before-issue-stale: 200 | |
days-before-pr-stale: 45 | |
days-before-issue-close: 1000 | |
days-before-pr-close: 30 | |
exempt-issue-labels: 'status: future' | |
delete-branch: true |