This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
Close stale issues and PRs #817
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 0 * * *' # every day at midnight | |
workflow_dispatch: | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
days-before-stale: 14 | |
days-before-close: 7 | |
operations-per-run: 100 | |
exempt-issue-labels: 'known-issue,enhancement' | |
stale-issue-message: 'This issue is stale because it has been open 14 days with no activity. Please comment or this will be closed in 7 days.' | |
close-issue-message: 'This issue was closed because it has been stalled for 21 days with no activity. Feel free to re-open if you are experiencing the issue again.' | |
stale-pr-message: 'This PR is stale because it has been open 14 days with no activity. Please comment or this will be closed in 7 days.' | |
close-pr-message: 'This PR was closed because it has been stalled for 21 days with no activity. Feel free to re-open if it is ready for review.' |