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
committerMichael Dawson <mdawson@devrus.com>2022-02-28 19:16:15 +0300
commita62972ab287d0053813d280c715604f10bf3e9a3 (patch)
treec2324ddf876b5ea20266cdefa1f19b7f52854c4c /.github
parent4cb2a4786711e304314313aabb24ed2dc46134ef (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