Bläddra i källkod

chore(Github Actions Stale): Initial Setup

Thibault Malbranche 4 år sedan
förälder
incheckning
84235d73ff
No account linked to committer's email address
1 ändrade filer med 16 tillägg och 0 borttagningar
  1. 16
    0
      .github/workflows/stale.yml

+ 16
- 0
.github/workflows/stale.yml Visa fil

@@ -0,0 +1,16 @@
1
+name: "Close stale issues and PRs"
2
+on:
3
+  schedule:
4
+  - cron: "0 0 * * *"
5
+
6
+jobs:
7
+  stale:
8
+    runs-on: ubuntu-latest
9
+    steps:
10
+    - uses: actions/stale@v1
11
+      with:
12
+        repo-token: ${{ secrets.GITHUB_TOKEN }}
13
+        stale-issue-message: 'Hello 👋, this issue has been opened for more than 2 month with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like _still searching for solutions_ and if you found one, please open a pull request! You have 7 days until this gets closed automatically'
14
+        stale-pr-message: 'Hello 👋, this PR has been opened for more than 2 month with no activity on it. If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing! You have 7 days until this gets closed automatically'
15
+        exempt-issue-label: 'Keep opened'
16
+        exempt-pr-label: 'Keep opened'