Stale issues #320
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: "Stale issues" | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
permissions: | |
contents: read | |
pull-requests: write | |
issues: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v4 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: "This issue has been marked stale and will be closed soon without further activity. To keep the issue open, please respond to the comment to keep the discussion going." | |
close-issue-message: "This issue has been automatically closed due to inactivity. Please feel free to re-open it if the issue persists." | |
stale-issue-label: "stale" | |
stale-pr-message: "This pull request has been marked stale and will be closed soon without further activity. Please update the PR or respond to this comment if you're still interested in working on this." | |
close-pr-message: "This pull request has been automatically closed due to inactivity. Please feel free to re-open it if you still want to work on it." | |
stale-pr-label: "stale" | |
days-before-issue-stale: 365 | |
days-before-issue-close: 15 | |
days-before-pr-stale: 30 | |
days-before-pr-close: 15 | |
remove-issue-stale-when-updated: true | |
remove-pr-stale-when-updated: true | |
ascending: true | |
operations-per-run: 500 | |
debug-only: false |