Close stale issues and PRs #150
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
# This workflow uses the following github action to automate | |
# management of stale issues and prs in this repo: | |
# https://github.com/marketplace/actions/close-stale-issues | |
name: Close stale issues and PRs | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * 0' | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
days-before-issue-stale: 30 | |
days-before-issue-close: 10 | |
days-before-pr-stale: -1 | |
days-before-pr-close: -1 | |
stale-issue-label: auto-triage-stale | |
stale-issue-message: 👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. | |
close-issue-message: As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number. | |
exempt-issue-labels: auto-triage-skip,bug,discussion,docs,enhancement,security,tests | |
exempt-all-milestones: true | |
remove-stale-when-updated: true | |
enable-statistics: true | |
operations-per-run: 60 | |