Skip to content

Commit 50be34c

Browse files
authored
Use maintained stale action (#1737)
1 parent 92608f9 commit 50be34c

2 files changed

Lines changed: 35 additions & 31 deletions

File tree

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: Feature Request
33
about: Suggest an idea for this project.
4-
title: 'FR: '
5-
labels: 'type:enhancement'
4+
title: ''
5+
labels: ''
66
assignees: ''
77

88
---

.github/stale.yml

Lines changed: 33 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,37 @@
1-
# Number of days of inactivity before an issue becomes stale
2-
daysUntilStale: 60
1+
name: Close stale issues
2+
on:
3+
schedule:
4+
- cron: '50 1 * * *'
35

4-
# Number of days of inactivity before a stale issue is closed
5-
daysUntilClose: 7
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v8
11+
with:
12+
days-before-issue-stale: 60
13+
days-before-pr-stale: -1
14+
days-before-issue-close: 7
15+
# days-before-pr-close: 10
616

7-
# Issues with these labels will never be considered stale
8-
exemptLabels:
9-
- "status:idea"
10-
- "status:planning"
11-
- "status:on hold"
12-
- "status:ready"
13-
- "type:bug"
14-
- "type:docs"
15-
- "type:enhancement"
16-
- "type:feature"
17-
- "type:refactor"
18-
- "type:task"
17+
stale-issue-label: "status:stale"
18+
stale-pr-label: "status:stale"
1919

20-
# Label to use when marking an issue as stale
21-
staleLabel: "status:stale"
20+
exempt-issue-labels: >
21+
status:idea,
22+
status:planning,
23+
status:on hold,
24+
status:ready,
25+
type:bug,
26+
type:docs,
27+
type:enhancement,
28+
type:feature,
29+
type:refactor,
30+
type:task,
2231
23-
# Comment to post when marking an issue as stale. Set to `false` to disable
24-
markComment: >
25-
This issue has been automatically marked as stale because it has not had
26-
recent activity. It will be closed if no further activity occurs. Thank you
27-
for your contributions.
28-
29-
# Comment to post when closing a stale issue. Set to `false` to disable
30-
closeComment: false
31-
32-
# Limit to only `issues` or `pulls`
33-
only: issues
32+
stale-issue-message: >
33+
This issue has been automatically marked as stale because it has not had
34+
recent activity. It will be closed if no further activity occurs. Thank you
35+
for your contributions.
36+
close-issue-message: >
37+
This issue was closed because it has been stalled for 7 days with no activity.

0 commit comments

Comments
 (0)