You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by jo...@apache.org on 2022/09/06 10:52:35 UTC

[jackrabbit-oak] 01/01: OAK-9898 expire PRs older than 2 years

This is an automated email from the ASF dual-hosted git repository.

joerghoh pushed a commit to branch OAK-9898-stale-prs
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git

commit ef8ae7eaf778805aa800fe49dc2d9a254802dc6f
Author: Joerg Hoh <jh...@adobe.com>
AuthorDate: Tue Sep 6 12:51:42 2022 +0200

    OAK-9898 expire PRs older than 2 years
---
 .github/workflows/stale.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 0000000000..7e9db1249b
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,14 @@
+name: 'Close stale PR and Issues'
+on:
+  schedule:
+    - cron: '30 1 * * *'
+
+jobs:
+  stale:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/stale@v5
+        with:
+          stale-pr-message: 'This PR is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 30 days.'
+          days-before-pr-stale: 730
+          days-before-pr-close: 30
\ No newline at end of file