From ba0637f562338a5920b5af1e64ba3facc81d7810 Mon Sep 17 00:00:00 2001 From: Orlix Date: Sat, 9 Jul 2022 00:11:42 +0300 Subject: [PATCH] Tune stale action (#17146) Tube stale action - 60 days grace period for stale - exclude issues and PR with labels : never-stale, kind/requirement Signed-off-by: OrlinVasilev Co-authored-by: OrlinVasilev --- .github/workflows/housekeeping-stale-issues-prs.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/housekeeping-stale-issues-prs.yaml b/.github/workflows/housekeeping-stale-issues-prs.yaml index c78805d23..ee27cbaec 100644 --- a/.github/workflows/housekeeping-stale-issues-prs.yaml +++ b/.github/workflows/housekeeping-stale-issues-prs.yaml @@ -13,13 +13,14 @@ jobs: stale-pr-message: 'This PR is being marked stale due to a period of inactivty. If this PR is still relevant, please comment or remove the stale label. Otherwise, this PR will close in 30 days.' close-issue-message: 'This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.' close-pr-message: 'This PR was closed because it has been stalled for 30 days with no activity. If this PR is still relevant, please re-open a new PR against main.' - days-before-issue-stale: 30 - days-before-pr-stale: 30 + days-before-issue-stale: 60 + days-before-pr-stale: 60 days-before-issue-close: 30 days-before-pr-close: 30 # Don't add stale label to PRs / issues with milestones "upcoming" attached. exempt-milestones: "upcoming" # Don't add stale label to PRs / issues with this label - exempt-issue-labels: "never-stale" + exempt-issue-labels: 'never-stale, kind/requirement' + exempt-pr-labels: 'never-stale, kind/requirement' # Make it 1000 to clean up a bit then wen can lower it operations-per-run: 1000