]> git.puffer.fish Git - mirror/frr.git/commitdiff
github: Autoclose stale issues/PRs that are stare longer than 180 days 11422/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 16 Jun 2022 18:49:52 +0000 (21:49 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 16 Jun 2022 18:54:55 +0000 (21:54 +0300)
Set autoclose label after 180 days (no activity) and close (really) two weeks
later.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
.github/workflows/stale.yml

index df9f5ce5b3a891b7b32f2715240dfba133057fe9..aea81e9e139a90c74f352c7a83d12c919169c881 100644 (file)
@@ -14,7 +14,9 @@ jobs:
         repo-token: ${{ secrets.GITHUB_TOKEN }}
         stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Comment or remove the `autoclose` label in order to avoid having this issue closed.'
         stale-issue-label: autoclose
+        stale-pr-message: 'This PR is stale because it has been open 180 days with no activity. Comment or remove the `autoclose` label in order to avoid having this PR closed.'
+        stale-pr-label: autoclose
         days-before-stale: 180
-        days-before-close: -1
-        days-before-pr-stale: -1
-        days-before-pr-close: -1
+        days-before-close: 194
+        days-before-pr-stale: 180
+        days-before-pr-close: 194