From 1000d7e6a2547fa3a1bc70021b4c345fa6a69b7e Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Wed, 16 Oct 2024 17:28:03 -0400 Subject: [PATCH] Update stalebot settings (#36097) Do not close PRs nor Issues Make the stale threshold to about 6 months, to match general release cycle for CHIP. Even if this changes at some point to anually, this still seems to be a more reasonable default if we actively triage and manage issues and PRs. --- .github/workflows/stale.yaml | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index a9953e69b08ac1..5adf4f408e768b 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -16,27 +16,17 @@ jobs: with: stale-issue-message: "This issue has been automatically marked as stale because - it has not had recent activity. It will be closed if no - further activity occurs. Remove stale label or comment or - this will be closed in 30 days." + it has not had recent activity." stale-pr-message: "This pull request has been automatically marked as stale - because it has not had recent activity. It will be closed - if no further activity occurs. Remove stale label or - comment or this will be closed in 10 days." + because it has not had recent activity." close-issue-message: "This stale issue has been automatically closed. Thank you for your contributions." close-pr-message: "This stale pull request has been automatically closed. Thank you for your contributions." - days-before-issue-stale: 30 - days-before-issue-close: -1 # Don't close them for now - days-before-pr-stale: 90 - days-before-pr-close: 10 - exempt-issue-labels: - "security,blocked,cert blocker,build issue,Spec XML - align,CI/CD improvements,memory" - exempt-pr-labels: - "security,blocked,cert blocker,build issue,Spec XML - align,CI/CD improvements,memory" + days-before-issue-stale: 180 + days-before-issue-close: -1 # Don't close stale issues + days-before-pr-stale: 180 + days-before-pr-close: -1 # Don't close stale PRs