Close stale issues #937
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" | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
permissions: | |
issues: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- name: stale | |
uses: actions/stale@v9 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: 'This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days' | |
close-issue-message: "This issue was closed because it has been inactive for 19 days and has been marked as stale." | |
days-before-stale: 14 | |
days-before-close: 5 | |
any-of-labels: can't reproduce,help,needs clarification |