forked from aws/karpenter-provider-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (29 loc) · 1.11 KB
/
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
27
28
29
name: StaleBot
on:
workflow_dispatch:
schedule:
- cron: '0 12 * * *'
jobs:
StaleBot:
runs-on: ubuntu-latest
permissions:
issues: write
discussions: write
pull-requests: write
if: github.repository == 'aws/karpenter'
name: Stale issue bot
steps:
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been inactive for 14 days. StaleBot will close this stale issue after 14 more days of inactivity.'
exempt-issue-labels: 'bug,chore,feature,documentation,testing,operational-excellence,automation,roadmap'
stale-issue-label: 'lifecycle/stale'
close-issue-label: 'lifecycle/closed'
stale-pr-message: 'This PR has been inactive for 14 days. StaleBot will close this stale PR after 14 more days of inactivity.'
exempt-pr-labels: 'blocked,needs-review,needs-design'
stale-pr-label: 'lifecycle/stale'
close-pr-label: 'lifecycle/closed'
days-before-stale: 14
days-before-close: 14
operations-per-run: 300