From 0c687ea4c1f4aa3a607d520de02cbc85bb768521 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Thu, 16 Jun 2022 21:49:52 +0300 Subject: [PATCH] github: Autoclose stale issues/PRs that are stare longer than 180 days Set autoclose label after 180 days (no activity) and close (really) two weeks later. Signed-off-by: Donatas Abraitis --- .github/workflows/stale.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index df9f5ce5b3..aea81e9e13 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -14,7 +14,9 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Comment or remove the `autoclose` label in order to avoid having this issue closed.' stale-issue-label: autoclose + stale-pr-message: 'This PR is stale because it has been open 180 days with no activity. Comment or remove the `autoclose` label in order to avoid having this PR closed.' + stale-pr-label: autoclose days-before-stale: 180 - days-before-close: -1 - days-before-pr-stale: -1 - days-before-pr-close: -1 + days-before-close: 194 + days-before-pr-stale: 180 + days-before-pr-close: 194 -- 2.39.5