Close inactive issues and PRs #108
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 and PRs | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
close-issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/[email protected] | |
with: | |
days-before-stale: 30 | |
days-before-close: 14 | |
stale-issue-label: "stale" | |
stale-pr-label: "stale" | |
exempt-issue-labels: "dont-close" | |
exempt-pr-labels: "dont-close" | |
stale-issue-message: "This issue has been marked as stale because it has been open for 30 days with no activity." | |
stale-pr-message: "This PR has been marked as stale because it has been open for 30 days with no activity." | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |