瀏覽代碼

Update stale.yml

oobabooga 2 年之前
父節點
當前提交
15714580da
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      .github/workflows/stale.yml

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

@@ -1,7 +1,7 @@
 name: Close inactive issues
 on:
   schedule:
-    - cron: "07 23 * * *"
+    - cron: "50 22 * * *"
 
 jobs:
   close-issues:
@@ -12,11 +12,11 @@ jobs:
     steps:
       - uses: actions/stale@v5
         with:
+          stale-issue-message: ""
+          close-issue-message: "This issue has been closed due to inactivity for 30 days. If you believe it is still relevant, you can reopen it (if you are the author) or leave a comment below."
           days-before-issue-stale: 30
           days-before-issue-close: 30
           stale-issue-label: "stale"
-          stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
-          close-issue-message: "This issue was closed because it has been inactive for 30 days. If you think that it is still relevant, feel free to reopen it (if you are the author) or comment down below."
           days-before-pr-stale: -1
           days-before-pr-close: -1
           repo-token: ${{ secrets.GITHUB_TOKEN }}