Mark stale issues and pull requests #144628
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: '*/15 * * * *' | |
permissions: {} | |
jobs: | |
stale: | |
permissions: | |
issues: write # to close stale issues (actions/stale) | |
pull-requests: write # to close stale PRs (actions/stale) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: > | |
This issue has been automatically marked as stale because it has not | |
had recent activity. It will be closed if no further activity occurs. | |
Please let us know if this issue is still valid! | |
stale-pr-message: > | |
This PR has been automatically marked as stale because it has not had | |
recent activity. It will be closed if no further activity occurs. | |
Please let us know if this PR is still need merging! | |
stale-issue-label: 'stale' | |
exempt-issue-label: 'High Priority' | |
stale-pr-label: 'stale' | |
exempt-pr-label: 'High Priority' | |
exempt-all-pr-assignees: true | |
remove-stale-when-updated: true | |
days-before-stale: 365 | |
days-before-close: 90 |