Automation Stale Bot #48
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: 'Automation Stale Bot' | |
on: | |
schedule: | |
- cron: '30 1 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
days-before-stale: 30 | |
days-before-close: -1 # We don't want to close stale issues and PRs automatically | |
# --- issues | |
stale-issue-message: '' | |
stale-issue-label: 'stale' | |
# --- PRs | |
stale-pr-message: "This PR is considered stale and will be convert to draft soon. Please undraft it if you think it's ready to be reviewed." | |
stale-pr-label: 'stale' | |
close-pr-message: '' # We don't want to close stale PRs automatically, so this is commented out | |
exempt-draft-pr: true # We don't want to mark draft PRs as stale |