forked from kubernetes-sigs/karpenter
-
Notifications
You must be signed in to change notification settings - Fork 1
26 lines (26 loc) · 927 Bytes
/
stale.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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/stale@v8.0.0
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.