summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 }}