Mark stale issues and pull requests #933
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: '25 12 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/[email protected] | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
days-before-stale: 360 | |
days-before-issue-stale: 180 | |
days-before-pr-stale: 360 | |
stale-issue-message: 'This issue has been inactive for 180 days' | |
stale-pr-message: 'This pull request has been inactive for 360 days' | |
stale-issue-label: 'stale' | |
stale-pr-label: 'stale' | |
exempt-issue-labels: 'no-stale' | |
exempt-pr-labels: 'no-stale' | |
exempt-all-milestones: true | |
days-before-close: -1 |