Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 0 additions & 56 deletions .github/workflows/close-stale-feature-requests.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/close-stale-pull-requests.yml

This file was deleted.

50 changes: 50 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Close stale
on:
workflow_dispatch:
schedule:
# Run every day at 1:00 AM UTC.
- cron: 0 1 * * *

# yamllint disable rule:empty-lines
env:
CLOSE_MESSAGE: >
This {0} has been automatically closed after 30 days of inactivity
following its stale status (no activity for a total of 240 days).

If this is still relevant, feel free to reopen it or leave a comment
with additional details so we can continue the discussion.

WARN_MESSAGE: >
This {0} has been marked as stale due to 210 days of inactivity.

It will be automatically closed in 30 days if no further activity occurs.
If this is still relevant, please leave a comment or update it to keep it open.
# yamllint enable

permissions:
contents: read

jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
if: github.repository == 'nodejs/node'
runs-on: ubuntu-slim
steps:
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 210
days-before-close: 30
stale-issue-label: stale
exempt-issue-labels: never-stale, confirmed-bug
close-issue-message: ${{ format(env.CLOSE_MESSAGE, 'issue') }}
stale-issue-message: ${{ format(env.WARN_MESSAGE, 'issue') }}
stale-pr-label: stale
exempt-pr-labels: never-stale
close-pr-message: ${{ format(env.CLOSE_MESSAGE, 'pull request') }}
stale-pr-message: ${{ format(env.WARN_MESSAGE, 'pull request') }}
# max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits
operations-per-run: 500
remove-stale-when-updated: true
40 changes: 0 additions & 40 deletions doc/contributing/feature-request-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,50 +42,10 @@ Individual collaborators review issues marked as `feature request`
along with other issues and may or may not decide to
work on an implementation or advocate on their behalf.

If a collaborator believes a feature request must be implemented
they can add the `never-stale` label to the issue and it will
be excluded from the automated feature request handling
as outlined below.

## Expressing support for a feature request

If you come across a feature request and want to add your
support for that feature please express your support
with the thumbs up emoji as a reaction. At some point in the
future we may use this as additional input in the automated
handling of feature requests.

## Automated feature request handling

Our experience is that most feature requests that are
likely to be addressed, will be addressed within the first
6 months after they are submitted.

Once there has been no activity on a feature request for
5 months, the following comment will be added
to the issue:

```markdown
There has been no activity on this feature request for
5 months and it is unlikely to be implemented.
It will be closed 6 months after the last non-automated comment.

For more information on how the project manages
feature requests, please consult the
[feature request management document](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).
```

If there is no additional activity/discussion on the
feature request in the next month, the following
comment is added to the issue and the issue will be
closed:

```markdown
There has been no activity on this feature request
and it is being closed. If you feel closing this issue is not the
right thing to do, please leave a comment.

For more information on how the project manages
feature requests, please consult the
[feature request management document](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).
```
Loading