Close inactive issues #3
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 inactive issues | |
on: | |
schedule: | |
- cron: "45 19 * * *" | |
workflow_dispatch: | |
jobs: | |
close-issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
# close all issues and prs older than 100 days | |
days-before-issue-stale: 100 | |
days-before-issue-close: 0 | |
days-before-pr-stale: 100 | |
days-before-pr-close: 0 | |
stale-issue-message: 'This issue has been automatically closed because it has not had recent activity.' | |
stale-pr-message: 'This pull request has been automatically closed because it has not had recent activity.' | |
operations-per-run: 1000 |