Przeglądaj źródła

Merge branch 'master' into insider

Baptiste Augrain 2 lat temu
rodzic
commit
59e72eed70
2 zmienionych plików z 26 dodań i 2 usunięć
  1. 3 2
      .github/workflows/lock.yml
  2. 23 0
      .github/workflows/stale.yml

+ 3 - 2
.github/workflows/lock.yml

@@ -1,8 +1,8 @@
-name: Lock Threads
+name: Lock Issues
 
 
 on:
 on:
   schedule:
   schedule:
-    - cron: '0 0 * * Mon'
+    - cron: '0 2 * * *'
 
 
 jobs:
 jobs:
   lock:
   lock:
@@ -13,3 +13,4 @@ jobs:
           github-token: ${{ github.token }}
           github-token: ${{ github.token }}
           issue-inactive-days: '90'
           issue-inactive-days: '90'
           pr-inactive-days: '90'
           pr-inactive-days: '90'
+          log-output: true

+ 23 - 0
.github/workflows/stale.yml

@@ -0,0 +1,23 @@
+name: Stale Issues
+on:
+  schedule:
+    - cron: '0 1 * * *'
+
+permissions:
+  issues: write
+
+jobs:
+  stale:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/stale
+        with:
+          days-before-stale: 180
+          days-before-close: 30
+          stale-issue-label: stale
+          stale-issue-message: >
+            This issue has been automatically marked as stale. **If this issue is still affecting you, please leave any comment**, and we'll keep it open. If you have any new additional information, please include it with your comment!
+          close-issue-message: >
+            This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue, please open a new issue.
+          exempt-issue-labels: discussion
+          only-pr-labels: not-a-real-label