Process Stale Issues and PRs #1
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: "Process Stale Issues and PRs" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "30 1 * * *" | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
stale-issue-message: | |
"This issue has been automatically marked as stale because | |
it has not had recent activity." | |
stale-pr-message: | |
"This pull request has been automatically marked as stale | |
because it has not had recent activity." | |
close-issue-message: | |
"This stale issue has been automatically closed. Thank you | |
for your contributions." | |
close-pr-message: | |
"This stale pull request has been automatically closed. | |
Thank you for your contributions." | |
days-before-issue-stale: 180 | |
days-before-issue-close: -1 # Don't close stale issues | |
days-before-pr-stale: 180 | |
days-before-pr-close: -1 # Don't close stale PRs |