2022-02-15 02:50:27 +01:00
|
|
|
name: Close stale feature requests
|
|
|
|
on:
|
2022-02-17 21:19:39 +01:00
|
|
|
workflow_dispatch:
|
2022-04-03 17:27:12 +02:00
|
|
|
schedule:
|
|
|
|
# Run every day at 1:00 AM UTC.
|
|
|
|
- cron: 0 1 * * *
|
2022-02-15 02:50:27 +01:00
|
|
|
|
|
|
|
# yamllint disable rule:empty-lines
|
|
|
|
env:
|
|
|
|
CLOSE_MESSAGE: >
|
|
|
|
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
|
2022-02-22 23:59:43 +01:00
|
|
|
[feature request management document](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).
|
2022-02-15 02:50:27 +01:00
|
|
|
|
|
|
|
WARN_MESSAGE: >
|
|
|
|
There has been no activity on this feature request for
|
2024-04-10 16:53:51 +02:00
|
|
|
5 months. To help maintain relevant open issues, please
|
|
|
|
add the https://github.com/nodejs/node/labels/never-stale
|
|
|
|
label or close this issue if it should be closed. If not,
|
|
|
|
the issue will be automatically closed 6 months after the
|
|
|
|
last non-automated comment.
|
2022-02-15 02:50:27 +01:00
|
|
|
|
|
|
|
For more information on how the project manages
|
|
|
|
feature requests, please consult the
|
2022-02-22 23:59:43 +01:00
|
|
|
[feature request management document](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).
|
2022-02-15 02:50:27 +01:00
|
|
|
# yamllint enable
|
|
|
|
|
2022-07-12 23:50:46 +02:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2022-02-15 02:50:27 +01:00
|
|
|
jobs:
|
|
|
|
stale:
|
2022-07-12 23:50:46 +02:00
|
|
|
permissions:
|
|
|
|
issues: write # for actions/stale to close stale issues
|
|
|
|
pull-requests: write # for actions/stale to close stale PRs
|
2022-02-15 02:50:27 +01:00
|
|
|
if: github.repository == 'nodejs/node'
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-01-03 20:05:56 +01:00
|
|
|
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
|
2022-02-15 02:50:27 +01:00
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
2022-04-03 17:27:12 +02:00
|
|
|
days-before-stale: 180
|
2022-02-15 02:50:27 +01:00
|
|
|
days-before-close: 30
|
2022-02-22 23:59:43 +01:00
|
|
|
stale-issue-label: stale
|
2022-02-15 02:50:27 +01:00
|
|
|
close-issue-message: ${{ env.CLOSE_MESSAGE }}
|
|
|
|
stale-issue-message: ${{ env.WARN_MESSAGE }}
|
2022-02-22 20:17:56 +01:00
|
|
|
only-labels: feature request
|
2023-09-07 09:09:45 +02:00
|
|
|
exempt-issue-labels: never-stale
|
2022-02-15 02:50:27 +01:00
|
|
|
# max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits
|
2022-02-25 17:00:16 +01:00
|
|
|
operations-per-run: 500
|
2022-02-15 02:50:27 +01:00
|
|
|
remove-stale-when-updated: true
|