Skip to content

Commit 545e712

Browse files
cm-dyoshikawaclaude
andcommitted
ci: shorten stale-PR auto-close threshold from 30 to 14 days
Shorten the inactivity window before a stale PR is auto-closed from ~1 month to 2 weeks, keeping the PR queue tidier and giving contributors quicker feedback (they can always reopen or file a new PR). The comment body already interpolates ${STALE_DAYS} dynamically, so only the constant and the step name needed updating; no README/docs reference the policy. Closes #2160 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 85df583 commit 545e712

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/auto-close-stale-prs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
runs-on: ubuntu-latest
1919
timeout-minutes: 10
2020
steps:
21-
- name: Close pull requests inactive for more than 30 days
21+
- name: Close pull requests inactive for more than 14 days
2222
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
2323
with:
2424
script: |
25-
const STALE_DAYS = 30;
25+
const STALE_DAYS = 14;
2626
const staleThresholdMs = STALE_DAYS * 24 * 60 * 60 * 1000;
2727
const now = Date.now();
2828
const { owner, repo } = context.repo;

0 commit comments

Comments
 (0)