From 5fe11b7809445ba2a54798e4129c38e2af526769 Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Sun, 3 Apr 2022 08:27:12 -0700 Subject: [PATCH] build: set stale action back to running nightly I manually ran over the last number of weeks so that we did not mark all of the stale isssues all at once. We are not caught up so we can go to running daily. Signed-off-by: Michael Dawson PR-URL: https://github.com/nodejs/node/pull/42549 Reviewed-By: Rich Trott Reviewed-By: Mestery Reviewed-By: Tierney Cyren Reviewed-By: James M Snell --- .github/workflows/close-stale-feature-requests.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/close-stale-feature-requests.yml b/.github/workflows/close-stale-feature-requests.yml index 0b482ed8ae065f..c815b9acbaef99 100644 --- a/.github/workflows/close-stale-feature-requests.yml +++ b/.github/workflows/close-stale-feature-requests.yml @@ -1,12 +1,9 @@ name: Close stale feature requests on: workflow_dispatch: - inputs: - daysBeforeStale: - description: Idle number of days before marking feature requests stale - required: true - default: 906 - type: number + schedule: + # Run every day at 1:00 AM UTC. + - cron: 0 1 * * * # yamllint disable rule:empty-lines env: @@ -39,7 +36,7 @@ jobs: - uses: actions/stale@v4 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - days-before-stale: ${{ github.event.inputs.daysBeforeStale }} + days-before-stale: 180 days-before-close: 30 stale-issue-label: stale close-issue-message: ${{ env.CLOSE_MESSAGE }}