summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJunyan Liu (Centific Technologies Inc) <[email protected]>2025-11-08 01:12:37 -0800
committerJunyan Liu (Centific Technologies Inc) <[email protected]>2025-11-08 01:12:37 -0800
commit9e8335f1d2a39609610288a5edc5d962dd814233 (patch)
treec8f6cb034d7a9812ff6a7c66fdfff937382de935 /.github
parent6d81ee33d11824d07a9001b4cf3c9d90d581a2b1 (diff)
use PAT_TOKEN and add dry-run for testing purpose.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/StaleIssues.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/StaleIssues.yml b/.github/workflows/StaleIssues.yml
index 4310fd8b..2ca939c4 100644
--- a/.github/workflows/StaleIssues.yml
+++ b/.github/workflows/StaleIssues.yml
@@ -1,5 +1,6 @@
name: Close inactive issues
on:
+ workflow_dispatch:
schedule:
# Runs every Monday at 06:00 PST (14:00 UTC)
- cron: '0 14 * * 1'
@@ -16,5 +17,7 @@ jobs:
stale-issue-label: "stale"
stale-issue-message: "This issue has been inactive for a year. It will be closed in 31 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."
+ remove-stale-when-updated: true
+ dry-run: true # This prevents any real changes
operations-per-run: 400
- repo-token: ${{ secrets.GITHUB_TOKEN }}
+ repo-token: ${{ secrets.PAT_TOKEN }}