This repository has been archived by the owner on Apr 28, 2024. It is now read-only.
Close Stale Issues #31236
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: "*/60 * * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Autoclose stale issues. | |
uses: actions/stale@v8 | |
with: | |
days-before-close: 2 | |
days-before-stale: 7 | |
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.' |