This is an automated email from the ASF dual-hosted git repository.
lizhimins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new a1a6585 Add GitHub Actions workflow to auto-close stale issues and
PRs (#443)
a1a6585 is described below
commit a1a6585263dcce97c8cb0b3d2d291ff1d097046c
Author: lizhimins <[email protected]>
AuthorDate: Fri Jul 17 15:51:44 2026 +0800
Add GitHub Actions workflow to auto-close stale issues and PRs (#443)
Configure actions/stale@v9 to automatically close issues and PRs
with no activity for 7+ days. Pinned and security labeled items
are exempt from auto-closing.
---
.github/workflows/stale.yml | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 0000000..9564304
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,30 @@
+name: Close Stale Issues and PRs
+
+on:
+ schedule:
+ - cron: '0 0 * * *' # Run daily at 00:00 UTC
+
+permissions:
+ issues: write
+ pull-requests: write
+
+jobs:
+ stale:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/stale@v9
+ with:
+ days-before-stale: 7
+ days-before-close: 0
+ stale-issue-label: stale
+ stale-pr-label: stale
+ stale-issue-message: >
+ This issue has been automatically closed because there has been no
activity
+ for 7 days. If you believe this issue is still relevant, please
reopen it
+ with updated information.
+ stale-pr-message: >
+ This pull request has been automatically closed because there has
been no activity
+ for 7 days. If you would like to continue working on this, please
reopen the PR
+ with updated changes.
+ exempt-issue-labels: 'pinned,security'
+ exempt-pr-labels: 'pinned,security'