Mark inactive PRs as stale #254
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: 'Mark inactive PRs as stale' | |
on: | |
schedule: | |
# Update at 10:00 AM UTC+9 | |
- cron: '0 1 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
# Mark PRs as stale if they are open and inactive for 30 days. | |
days-before-pr-stale: 30 | |
# Do not leave a message when marking PRs as stale. | |
stale-pr-message: '' | |
# Do not mark issues as stale. | |
days-before-issue-stale: -1 | |
# Do not close PRs automatically. | |
days-before-close: -1 |