From f449932fafef04826ab7348c710910ff6d395316 Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Thu, 31 Mar 2022 17:21:38 -0400 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 --- .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 }}