StaleBot #112
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: StaleBot | |
on: | |
schedule: | |
- cron: '0 12 * * *' | |
jobs: | |
StaleBot: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
discussions: write | |
pull-requests: write | |
if: github.repository == 'aws/karpenter-core' | |
name: Stale issue bot | |
steps: | |
- uses: actions/[email protected] | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: 'Labeled for closure due to inactivity in 10 days.' | |
exempt-issue-labels: 'bug,chore,roadmap,help-wanted,burning,feature,documentation,operational-excellence,good-first-issue' | |
stale-issue-label: 'lifecycle/stale' | |
close-issue-label: 'lifecycle/closed' | |
remove-stale-when-updated: true | |
days-before-stale: 20 | |
days-before-close: 10 | |
operations-per-run: 300 | |
only-pr-labels: 'close-pr-if-stale' # Because we don't want the bot to close PRs for now. |