Skip to content

Commit 088329e

Browse files
authored
Merge pull request #2186 from dyoshikawa/resolve-issue-2160-stale-pr-threshold
ci: shorten stale-PR auto-close threshold from 30 to 14 days
2 parents 3c3e279 + 545e712 commit 088329e

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)