From 3196182d4d303520d8d49b915a70bdc0c8fb12cd Mon Sep 17 00:00:00 2001 From: syeopite Date: Thu, 7 Nov 2024 20:41:04 -0800 Subject: [PATCH 1/3] Prevent PRs from being considered stale --- .github/workflows/stale.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 16d3269b4..35740d60f 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -14,13 +14,10 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-stale: 365 - days-before-pr-stale: 90 + days-before-pr-stale: -1 days-before-close: 30 - exempt-pr-labels: blocked,exempt-stale stale-issue-message: 'This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.' - stale-pr-message: 'This pull request has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely abandoned or outdated. If you think this pull request is still relevant and applicable, you just have to post a comment and it will be unmarked.' stale-issue-label: "stale" - stale-pr-label: "stale" ascending: true # Never mark feature requests/enhancements as stale exempt-issue-labels: "feature-request,enhancement,exempt-stale" From 78f18b257c7099d1d22b7566b62d5c2d596fa27f Mon Sep 17 00:00:00 2001 From: syeopite Date: Thu, 7 Nov 2024 20:42:19 -0800 Subject: [PATCH 2/3] Double stale timer for issues Days before staling is increased to 730 days Days before closing is increased to 60 days --- .github/workflows/stale.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 35740d60f..1294804aa 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -13,9 +13,9 @@ jobs: - uses: actions/stale@v8 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - days-before-stale: 365 + days-before-stale: 730 days-before-pr-stale: -1 - days-before-close: 30 + days-before-close: 60 stale-issue-message: 'This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.' stale-issue-label: "stale" ascending: true From ce910b5269c57658ef44d46e4024dc623f5ed46d Mon Sep 17 00:00:00 2001 From: syeopite Date: Thu, 7 Nov 2024 20:45:23 -0800 Subject: [PATCH 3/3] Prevent discussion issues from being staled --- .github/workflows/stale.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 1294804aa..498a2c1b8 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -19,5 +19,5 @@ jobs: stale-issue-message: 'This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.' stale-issue-label: "stale" ascending: true - # Never mark feature requests/enhancements as stale - exempt-issue-labels: "feature-request,enhancement,exempt-stale" + # Exempt the following types of issues from being staled + exempt-issue-labels: "feature-request,enhancement,discussion,exempt-stale"