Skip to content

Commit 74084a3

Browse files
authored
Update stalebot so inactive PRs go stale at 30 days and auto-close PRs after 45 days (#2590)
* Update stalebot to auto-close inactive PRs after 75 days * dropping time to stale to 30 days
1 parent d45897f commit 74084a3

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/stale.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Mark stale pull requests
1+
name: Manage stale pull requests
22

33
on:
44
schedule:
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: "Check PRs"
18-
uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10
18+
uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
1919
with:
2020
repo-token: ${{ secrets.GITHUB_TOKEN }}
2121
stale-pr-message: |
@@ -29,10 +29,18 @@ jobs:
2929
be extremely helpful if you could take a look at it as well and confirm its
3030
relevance. A simple comment with a nice emoji will be enough `:+1`.
3131
32+
If there is no activity on this PR within the **next 2 weeks**, it will be
33+
automatically closed.
34+
35+
Thank you for your contribution!
36+
close-pr-message: |
37+
This PR has been automatically closed due to inactivity. If you'd like to
38+
continue working on this, feel free to re-open the PR or create a new one.
39+
3240
Thank you for your contribution!
3341
stale-pr-label: 'stale'
3442
ascending: true
35-
days-before-pr-stale: 60
43+
days-before-pr-stale: 30
3644
days-before-issue-stale: -1
37-
days-before-close: -1
45+
days-before-close: 15
3846
operations-per-run: 120

0 commit comments

Comments
 (0)