-
-
Notifications
You must be signed in to change notification settings - Fork 16
56 lines (43 loc) · 1.6 KB
/
stale.yml
File metadata and controls
56 lines (43 loc) · 1.6 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Stale Items
on:
schedule:
- cron: "0 6 * * 0"
workflow_dispatch:
jobs:
stale:
name: Mark and Close Stale Items
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 365
days-before-close: 45
# Issue configuration
stale-issue-label: "stale"
close-issue-label: "closed:stale"
exempt-issue-labels: "pinned,security,enhancement,bug,backlog,epic"
stale-issue-message: |
## ⏰ Stale Issue
This issue has had no activity for 1 year.
It will be closed in 45 days unless there is new activity.
To keep it open, comment or remove the `stale` label.
close-issue-message: |
## 🔒 Closed: Inactive Issue
Closed after 45 days of inactivity.
To reopen, comment with a reason and a maintainer will review.
# PR configuration
stale-pr-label: "stale"
close-pr-label: "closed:stale"
exempt-pr-labels: "pinned,work-in-progress,ready-for-review"
stale-pr-message: |
## ⏰ Stale Pull Request
No activity for 1 year. Will close in 45 days unless updated.
To keep open, push commits, comment, or remove the `stale` label.
close-pr-message: |
## 🔒 Closed: Inactive PR
Closed after 45 days of inactivity.
To continue, reopen or submit a new PR and reference this one.