Mark stale issues and pull requests #277
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
# https://github.com/actions/stale | |
name: Mark stale issues and pull requests | |
on: | |
schedule: | |
- cron: '30 1 * * *' | |
workflow_dispatch: | |
inputs: | |
permissions: | |
contents: read | |
jobs: | |
stale: | |
permissions: | |
issues: write # for actions/stale to close stale issues | |
pull-requests: write # for actions/stale to close stale PRs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: 'Marking Issue as stale, will be closed in 7 days if no more activity is seen' | |
close-issue-message: 'Closing Issue because it is marked as stale' | |
stale-issue-label: 'stale' | |
exempt-issue-labels: help wanted,docs,enhancement,feature,parity,discussion,roadmap,bug,breaking,dependencies,request | |
days-before-stale: 30 | |
days-before-close: 7 | |
remove-stale-when-updated: true | |
enable-statistics: true |