diff options
| author | v-junyli <[email protected]> | 2025-11-08 01:15:12 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-08 01:15:12 -0800 |
| commit | 2a7a31df381694002f738b038faebd44d898cc90 (patch) | |
| tree | c8f6cb034d7a9812ff6a7c66fdfff937382de935 | |
| parent | c74e59172b2364ba37e3391dde526d2414548a3a (diff) | |
| parent | 9e8335f1d2a39609610288a5edc5d962dd814233 (diff) | |
Merge pull request #1333 from microsoft/user/vjunyli/FixStaleWF
use PAT_TOKEN and add dry-run for testing purpose.
| -rw-r--r-- | .github/workflows/StaleIssues.yml | 5 |
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 }} |
