From 0c53916994d73fcac0d0c7a7875fa2e5625fbeb6 Mon Sep 17 00:00:00 2001 From: Luky116Liuyuecai Date: Sat, 8 Oct 2022 11:46:31 +0800 Subject: [PATCH] config github action not to automatically close ps or issue --- .github/workflows/stale.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 1a94a7554..f6eec769c 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -30,18 +30,20 @@ jobs: steps: - uses: actions/stale@v4 with: - #stale issues - days-before-issue-stale: 28 - days-before-issue-close: 7 + #never automatically stale issues + days-before-issue-stale: -1 + #never automatically close issues + days-before-issue-close: -1 exempt-issue-labels: 'feature' stale-issue-message: > This issue has not been active for the past 4 weeks, so we will automatically close this issue after 7 days close-issue-message: > This issue has not been active for the past 5 weeks, so we are closing it now - #stale prs - days-before-pr-stale: 84 - days-before-pr-close: 7 + #never automatically stale pr + days-before-pr-stale: -1 + #never automatically close pr + days-before-pr-close: -1 stale-pr-message: > This PR has not been active for the past 12 weeks, so we will automatically close this issue after seven days close-pr-message: >