From 3349db9fe9d4ef66f1526f7476dee09936d7905f Mon Sep 17 00:00:00 2001 From: Yuecai Liu <38887641+luky116@users.noreply.github.com> Date: Sat, 8 Oct 2022 18:54:52 +0800 Subject: [PATCH] config github action not to automatically close ps or issue (#305) --- .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 1a94a755..f6eec769 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: >