Explorar o código

Add .github/workflows/stale.yml

ipfs-mgmt-read-write[bot] %!s(int64=3) %!d(string=hai) anos
pai
achega
ef11b6f915
Modificáronse 1 ficheiros con 26 adicións e 0 borrados
  1. 26 0
      .github/workflows/stale.yml

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

@@ -0,0 +1,26 @@
+name: Close and mark stale issue
+
+on:
+  schedule:
+  - cron: '0 0 * * *'
+
+jobs:
+  stale:
+
+    runs-on: ubuntu-latest
+    permissions:
+      issues: write
+      pull-requests: write
+
+    steps:
+    - uses: actions/stale@v3
+      with:
+        repo-token: ${{ secrets.GITHUB_TOKEN }}
+        stale-issue-message: 'Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days.'
+        close-issue-message: 'This issue was closed because it is missing author input.'
+        stale-issue-label: 'kind/stale'
+        any-of-labels: 'need/author-input'
+        exempt-issue-labels: 'need/triage,need/community-input,need/maintainer-input,need/maintainers-input,need/analysis'
+        days-before-issue-stale: 6
+        days-before-issue-close: 7
+        enable-statistics: true