Pārlūkot izejas kodu

fix(ci) migrate stalebot to GHA

dev0
Saúl Ibarra Corretgé 7 mēnešus atpakaļ
vecāks
revīzija
29f22e6f64
1 mainītis faili ar 21 papildinājumiem un 0 dzēšanām
  1. 21
    0
      .github/workflows/stale.yml

+ 21
- 0
.github/workflows/stale.yml Parādīt failu

@@ -0,0 +1,21 @@
1
+name: 'Close stale issues and PRs'
2
+on:
3
+  schedule:
4
+    - cron: '30 1 * * *'
5
+
6
+jobs:
7
+  stale:
8
+    runs-on: ubuntu-latest
9
+    steps:
10
+      - uses: actions/stale@v8
11
+        with:
12
+          stale-issue-message: '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 for your contributions.'
13
+          stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
14
+          stale-issue-label: 'stale'
15
+          stale-pr-label: 'stale'
16
+          exempt-issue-labels: 'confirmed'
17
+          exempt-pr-labels: 'confirmed'
18
+          days-before-issue-stale: 60
19
+          days-before-pr-stale: 90
20
+          days-before-issue-close: 10
21
+          days-before-pr-close: 10

Notiek ielāde…
Atcelt
Saglabāt