Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Dawson <mdawson@devrus.com>2022-02-25 19:00:16 +0300
committerDanielle Adams <adamzdanielle@gmail.com>2022-04-24 05:47:08 +0300
commitbcabd70d93d653cf8a442b9132b773a0423615ad (patch)
tree509e3cbfb34fd037da21bf3ddfb1cf08fc88d6a4 /.github
parent8532f83c8e6b9f0714af9fca1b5414026f85d20b (diff)
build: increase max ops for stale feature action
Set the limit to match the number used in the close stalled action. Required as not all eligeable stale features are being processed. Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: https://github.com/nodejs/node/pull/42130 Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/close-stale-feature-requests.yml13
1 files changed, 8 insertions, 5 deletions
diff --git a/.github/workflows/close-stale-feature-requests.yml b/.github/workflows/close-stale-feature-requests.yml
index bb0efd38ae4..8147806039e 100644
--- a/.github/workflows/close-stale-feature-requests.yml
+++ b/.github/workflows/close-stale-feature-requests.yml
@@ -1,9 +1,12 @@
name: Close stale feature requests
on:
workflow_dispatch:
- schedule:
- # Run every day at 1:00 AM UTC.
- - cron: 0 1 * * *
+ inputs:
+ daysBeforeStale:
+ description: Idle number of days before marking feature requests stale
+ required: true
+ default: 906
+ type: number
# yamllint disable rule:empty-lines
env:
@@ -36,7 +39,7 @@ jobs:
- uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- days-before-stale: 906
+ days-before-stale: ${{ github.event.input.daysBeforeStale }}
days-before-close: 30
stale-issue-label: stale
close-issue-message: ${{ env.CLOSE_MESSAGE }}
@@ -44,5 +47,5 @@ jobs:
only-labels: feature request
exempt-pr-labels: never-stale
# max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits
- operations-per-run: 30
+ operations-per-run: 500
remove-stale-when-updated: true