Close inactive issues #15
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: "10 15 * * *" | |
permissions: | |
issues: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v5 | |
with: | |
debug-only: false | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
days-before-issue-stale: 30 | |
days-before-issue-close: 7 | |
stale-issue-label: "stale" | |
stale-issue-message: "This issue has been open 30 days with no activity. This will be closed in 7 days." | |
close-issue-message: "This issue has been automatically marked as stale because it hasn't had any recent activity." | |
days-before-pr-stale: -1 | |
days-before-pr-close: -1 | |
exempt-issue-labels: bug,enhancement |