]> git.proxmox.com Git - mirror_frr.git/commitdiff
github: Mark issues with no activity in 180 days as stale
authorDonatas Abraitis <donatas@opensourcerouting.org>
Fri, 10 Jun 2022 07:03:05 +0000 (10:03 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Fri, 10 Jun 2022 07:03:05 +0000 (10:03 +0300)
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
.github/workflows/stale.yml [new file with mode: 0644]

diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644 (file)
index 0000000..df9f5ce
--- /dev/null
@@ -0,0 +1,20 @@
+name: Mark stale issues
+
+on:
+  workflow_dispatch:
+  schedule:
+    - cron: "30 1 * * *"
+
+jobs:
+  stale:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/stale@v5
+      with:
+        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
+        days-before-stale: 180
+        days-before-close: -1
+        days-before-pr-stale: -1
+        days-before-pr-close: -1