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/07 07:32:49 UTC

[jackrabbit-oak] branch trunk updated: OAK-9898 expire PRs older than 2 years (#691)

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

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


The following commit(s) were added to refs/heads/trunk by this push:
     new 8c76a8309f OAK-9898 expire PRs older than 2 years (#691)
8c76a8309f is described below

commit 8c76a8309f95657029d118993c66fa4da59e27b4
Author: Jörg Hoh <jo...@users.noreply.github.com>
AuthorDate: Wed Sep 7 09:32:42 2022 +0200

    OAK-9898 expire PRs older than 2 years (#691)
---
 .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