Close Stale Issues #6383
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
# Close stale issues after a defined period of time. | |
# | |
name: Close Stale Issues | |
on: | |
issues: | |
types: [reopened] | |
schedule: | |
- cron: "0 * * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Autoclose stale issues. | |
uses: actions/stale@v9 | |
with: | |
days-before-close: 2 | |
days-before-stale: 4 | |
exempt-issue-labels: 'discussion,help wanted,long running' | |
exempt-pr-labels: 'awaiting-approval,work-in-progress' | |
remove-stale-when-updated: true | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-label: 'stale' | |
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. Thank you for your contributions.' | |
stale-pr-label: 'stale' | |
stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' |