From 92c1bc562caa6f6a7401e3fb2a634fda930f7389 Mon Sep 17 00:00:00 2001 From: "Baruch Odem (Rothkoff)" Date: Sun, 10 Nov 2024 07:48:26 +0200 Subject: [PATCH] add ascending because of the rate limit (#618) See: https://github.com/actions/stale?tab=readme-ov-file#ascending https://github.com/actions/stale?tab=readme-ov-file#operations-per-run --- .github/workflows/stale.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index de08c5b9..1516eebb 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,5 +1,6 @@ name: 'Close stale issues and PRs' on: + workflow_dispatch: schedule: - cron: '30 1 * * *' @@ -9,6 +10,8 @@ jobs: steps: - uses: actions/stale@v9 with: + ascending: true days-before-close: 14 stale-issue-message: 'Issue has been marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' - stale-pr-message: 'Pull request has been marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' \ No newline at end of file + stale-pr-message: 'Pull request has been marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' + close-issue-reason: 'not_planned'