summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunyan Liu (Centific Technologies Inc) <[email protected]>2025-09-29 04:43:07 -0700
committerJunyan Liu (Centific Technologies Inc) <[email protected]>2025-09-29 04:43:07 -0700
commit3e1eb43a5a6025a523b083325167216cf4140a89 (patch)
tree066c718c21933536d188973b7bf4964e18fdba47
parent9ca0b0d395a55740b261c834df79eb9344e5bc56 (diff)
adding workflow to bulk cleanup stale issues older than 1 yearuser/vjunyli/BulkCloseIssues
-rw-r--r--.github/workflows/StaleIssues.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/StaleIssues.yml b/.github/workflows/StaleIssues.yml
new file mode 100644
index 00000000..4845bf47
--- /dev/null
+++ b/.github/workflows/StaleIssues.yml
@@ -0,0 +1,19 @@
+name: Close inactive issues
+on:
+ schedule:
+ # Runs every Monday at 06:00 PST (14:00 UTC)
+ - cron: '0 14 * * 1'
+jobs:
+ close-issues:
+ runs-on: ubuntu-latest
+ permissions:
+ issues: write
+ steps:
+ - uses: actions/stale@v10
+ with:
+ days-before-issue-stale: 365
+ days-before-issue-close: 7
+ stale-issue-label: "stale"
+ stale-issue-message: "This issue has been inactive for a year. It will be closed in 7 days if no further activity occurs. If you believe this issue is still relevant, please comment to keep it open."
+ close-issue-message: "Closing due to prolonged inactivity."
+ repo-token: ${{ secrets.GITHUB_TOKEN }}