This is an automated email from the ASF dual-hosted git repository.
pdallig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push:
new 7d62077584 [MINOR] Add GitHub Action to close stale PRs
7d62077584 is described below
commit 7d62077584b0cadeaf89b57af760cfa06bab160c
Author: Jongyoul Lee <[email protected]>
AuthorDate: Mon Jul 14 15:32:50 2025 +0900
[MINOR] Add GitHub Action to close stale PRs
### What is this PR for?
This pull request introduces a new workflow for managing stale pull
requests. The workflow is designed to automatically close pull requests that
have been inactive for over a year.
### What type of PR is it?
Improvement
### Todos
* [x] - Add a new workflow for stale action
### What is the Jira issue?
MINOR
### How should this be tested?
Check CI logs
### Screenshots (if appropriate)
### Questions:
* Does the license files need to update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Closes #4915 from jongyoul/minor/adopt-stale-for-one-year.
Signed-off-by: Philipp Dallig <[email protected]>
---
.github/workflows/stale.yml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 0000000000..e96264491b
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,26 @@
+name: Close stale PRs after 1 year of inactivity
+
+on:
+ schedule:
+ - cron: '0 2 * * *' # Every day at 11 AM KST (2 AM UTC)
+
+jobs:
+ stale:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/stale@v9
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ days-before-stale: 365
+ days-before-close: 30
+ stale-pr-message: >
+ This pull request has been inactive for over a year.
+ If no further activity occurs within the next 30 days, it will be
automatically closed.
+ If you believe this PR is still relevant, please feel free to
leave a comment or make an update. Thank you!
+ close-pr-message: >
+ This pull request has been automatically closed due to prolonged
inactivity (over one year without updates).
+ If you feel this was done in error or would like to continue the
discussion, feel free to reopen it. Thank you for your contributions!
+ only-prs: true
+ operations-per-run: 100
+ remove-stale-when-updated: true
+ exempt-pr-labels: suspend-stale