Skip to content

Commit 3184085

Browse files
committed
meta: broaden stale bot
1 parent 41afe9b commit 3184085

File tree

3 files changed

+13
-118
lines changed

3 files changed

+13
-118
lines changed

.github/workflows/close-stale-pull-requests.yml

Lines changed: 0 additions & 59 deletions
This file was deleted.

.github/workflows/close-stale-feature-requests.yml renamed to .github/workflows/stale.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Close stale feature requests
1+
name: Close stale
22
on:
33
workflow_dispatch:
44
schedule:
@@ -8,26 +8,17 @@ on:
88
# yamllint disable rule:empty-lines
99
env:
1010
CLOSE_MESSAGE: >
11-
There has been no activity on this feature request
12-
and it is being closed. If you feel closing this issue is not the
13-
right thing to do, please leave a comment.
11+
This issue has been automatically closed after 30 days of inactivity
12+
following its stale status (no activity for a total of 210 days).
1413
15-
16-
For more information on how the project manages
17-
feature requests, please consult the
18-
[feature request management document](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).
14+
If this is still relevant, feel free to reopen it or leave a comment
15+
with additional details so we can continue the discussion.
1916
2017
WARN_MESSAGE: >
21-
There has been no activity on this feature request for
22-
5 months. To help maintain relevant open issues, please
23-
add the https://github.com/nodejs/node/labels/never-stale
24-
label or close this issue if it should be closed. If not,
25-
the issue will be automatically closed 6 months after the
26-
last non-automated comment.
18+
This issue has been marked as stale due to 180 days of inactivity.
2719
28-
For more information on how the project manages
29-
feature requests, please consult the
30-
[feature request management document](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).
20+
It will be automatically closed in 30 days if no further activity occurs.
21+
If this is still relevant, please leave a comment or update it to keep it open.
3122
# yamllint enable
3223

3324
permissions:
@@ -47,10 +38,13 @@ jobs:
4738
days-before-stale: 180
4839
days-before-close: 30
4940
stale-issue-label: stale
41+
exempt-issue-labels: never-stale
5042
close-issue-message: ${{ env.CLOSE_MESSAGE }}
5143
stale-issue-message: ${{ env.WARN_MESSAGE }}
52-
only-labels: feature request
53-
exempt-issue-labels: never-stale
44+
stale-pr-label: stale
45+
exempt-pr-labels: never-stale
46+
close-pr-message: ${{ env.CLOSE_MESSAGE }}
47+
stale-pr-message: ${{ env.WARN_MESSAGE }}
5448
# max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits
5549
operations-per-run: 500
5650
remove-stale-when-updated: true

doc/contributing/feature-request-management.md

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -42,50 +42,10 @@ Individual collaborators review issues marked as `feature request`
4242
along with other issues and may or may not decide to
4343
work on an implementation or advocate on their behalf.
4444

45-
If a collaborator believes a feature request must be implemented
46-
they can add the `never-stale` label to the issue and it will
47-
be excluded from the automated feature request handling
48-
as outlined below.
49-
5045
## Expressing support for a feature request
5146

5247
If you come across a feature request and want to add your
5348
support for that feature please express your support
5449
with the thumbs up emoji as a reaction. At some point in the
5550
future we may use this as additional input in the automated
5651
handling of feature requests.
57-
58-
## Automated feature request handling
59-
60-
Our experience is that most feature requests that are
61-
likely to be addressed, will be addressed within the first
62-
6 months after they are submitted.
63-
64-
Once there has been no activity on a feature request for
65-
5 months, the following comment will be added
66-
to the issue:
67-
68-
```markdown
69-
There has been no activity on this feature request for
70-
5 months and it is unlikely to be implemented.
71-
It will be closed 6 months after the last non-automated comment.
72-
73-
For more information on how the project manages
74-
feature requests, please consult the
75-
[feature request management document](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).
76-
```
77-
78-
If there is no additional activity/discussion on the
79-
feature request in the next month, the following
80-
comment is added to the issue and the issue will be
81-
closed:
82-
83-
```markdown
84-
There has been no activity on this feature request
85-
and it is being closed. If you feel closing this issue is not the
86-
right thing to do, please leave a comment.
87-
88-
For more information on how the project manages
89-
feature requests, please consult the
90-
[feature request management document](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).
91-
```

0 commit comments

Comments
 (0)