浏览代码

change time for stale bot

Signed-off-by: Joana Hrotko <[email protected]>
Joana Hrotko 1 年之前
父节点
当前提交
cacbca859d
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      .github/workflows/stale.yml

+ 3 - 3
.github/workflows/stale.yml

@@ -1,7 +1,7 @@
 name: 'Close stale issues'
 name: 'Close stale issues'
 on:
 on:
   schedule:
   schedule:
-    - cron: '0 0 * * 0,3' # at midnight UTC every Sunday and Tuesday
+    - cron: '0 0 * * 0,3' # at midnight UTC every Sunday and Wednesday
 jobs:
 jobs:
   stale:
   stale:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
@@ -16,8 +16,8 @@ jobs:
             This issue has been automatically marked as stale because it has not had
             This issue has been automatically marked as stale because it has not had
             recent activity. It will be closed if no further activity occurs. Thank you
             recent activity. It will be closed if no further activity occurs. Thank you
             for your contributions.
             for your contributions.
-          days-before-issue-stale: 180
-          days-before-issue-close: 180
+          days-before-issue-stale: 150 # marks stale after 5 months
+          days-before-issue-close: 30 # closes 1 month after being marked with no action
           stale-issue-label: "stale"
           stale-issue-label: "stale"
           exempt-issue-labels: "kind/feature,kind/enhancement"
           exempt-issue-labels: "kind/feature,kind/enhancement"