From 9e8335f1d2a39609610288a5edc5d962dd814233 Mon Sep 17 00:00:00 2001 From: "Junyan Liu (Centific Technologies Inc)" Date: Sat, 8 Nov 2025 01:12:37 -0800 Subject: [PATCH] use PAT_TOKEN and add dry-run for testing purpose. --- .github/workflows/StaleIssues.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/StaleIssues.yml b/.github/workflows/StaleIssues.yml index 4310fd8bf..2ca939c40 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 }}