Close stale issues and PRs #115
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: 'Close stale issues and PRs' | |
on: | |
schedule: | |
- cron: '0 4 * * *' | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
stale-issue-message: 'This issue has been automatically marked as stale because of lack of recent activity. It may be closed manually after one month of inactivity. Thank you for your contributions.' | |
stale-issue-label: 'Status: Stale' | |
days-before-issue-stale: 365 | |
days-before-issue-close: -1 | |
stale-pr-message: 'This pull request has been automatically marked as stale because of lack of recent activity. It may be closed manually after one month of inactivity. Thank you for your contributions.' | |
stale-pr-label: 'Status: Stale' | |
days-before-pr-stale: 90 | |
days-before-pr-close: -1 |