forked from dependabot/dependabot-core
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 1.55 KB
/
stalebot.yml
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: Close stale Issues and PRs
permissions:
issues: write
pull-requests: write
on: # yamllint disable-line rule:truthy
schedule:
- cron: "00 0 * * *" # runs at 00:00 daily
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9.0.0
name: Clean up stale PRs and Issues
with:
stale-pr-message: "👋 This pull request has been marked as stale because it has been open for 2 years with no activity. You can comment on the PR to hold stalebot off for a while, or do nothing. If you do nothing, this pull request will be closed eventually by the stalebot. Please see CONTRIBUTING.md for more policy details."
stale-issue-message: "👋 This issue has been marked as stale because it has been open for 2 years with no activity. You can comment on the issue to hold stalebot off for a while, or do nothing. If you do nothing, this issue will be closed eventually by the stalebot. Please see CONTRIBUTING.md for more policy details."
stale-pr-label: "Stale"
stale-issue-label: "Stale"
exempt-pr-labels: "Keep" # a "Keep" label will keep the PR from being closed as stale
exempt-issue-labels: "Keep" # a "Keep" label will keep the issue from being closed as stale
days-before-pr-stale: 730 # when the PR is considered stale
days-before-pr-close: 7 # when the PR is closed by the bot
days-before-issue-stale: 730 # when the issue is considered stale
days-before-issue-close: 7 # when the issue is closed by the bot
ascending: true
operations-per-run: 100