From c9c29308d779893aa3d6354d76ef5fe2d78727d7 Mon Sep 17 00:00:00 2001 From: Loymdayddaud <145969603+TheGiraffe3@users.noreply.github.com> Date: Fri, 10 Oct 2025 08:07:23 +0300 Subject: [PATCH] update stale action (#2168) ## Description: Updates the stale action to: 1. Do nothing with issues, since issues should generally not stale 2. Close PRs and add the Orphaned label to them, along with a comment about being unmaintained 3. Add a "will not stale" label for PRs we don't want to be closed 4. Removes the start-date because there's really no reason for it ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: loymdayddaud --- .github/workflows/pr-stale.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-stale.yml b/.github/workflows/pr-stale.yml index 6627748b4..81b3b0eb7 100644 --- a/.github/workflows/pr-stale.yml +++ b/.github/workflows/pr-stale.yml @@ -13,10 +13,14 @@ jobs: steps: - uses: actions/stale@8f717f0dfca33b78d3c933452e42558e4456c8e7 with: - days-before-close: 14 - days-before-stale: 14 + days-before-pr-close: 14 + days-before-pr-stale: 14 + days-before-issue-close: -1 + days-before-issue-stale: -1 exempt-draft-pr: true exempt-pr-assignees: evanpelle - stale-pr-label: "stale" + exempt-pr-labels: "will not stale" + stale-pr-label: "Stale" stale-pr-message: "This pull request is stale because it has been open for 14 days with no activity. If you want to keep this pull request open, add a comment or update the branch." - start-date: 2025-09-03T00:00:00+00:00 + close-pr-message: "This pull request has been closed because twenty-eight days have passed without activity. If someone wants to keep working on it, feel free to take the code." + close-pr-label: "Orphaned"