Skip to content

Commit 2b29278

Browse files
authored
Update stale action to close PRs (#1773)
1 parent bd1f9cb commit 2b29278

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/stale.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ name: "Stale issues and pull requests"
44
on:
55
schedule:
66
- cron: "0 0 * * *"
7+
workflow_dispatch:
78

89
jobs:
910
stale:
1011
runs-on: ubuntu-latest
1112
steps:
12-
- uses: actions/stale@v8
13+
- uses: actions/stale@v9
1314
with:
1415
repo-token: ${{ secrets.GITHUB_TOKEN }}
1516
stale-issue-message: >-
@@ -29,11 +30,13 @@ jobs:
2930
1. Comment that the issue is still reproducible and include updated details requested in the issue template.
3031
days-before-stale: 30
3132
days-before-close: 99999
33+
days-before-pr-close: 90
3234
stale-issue-label: "stale"
3335
exempt-issue-label: "stale/exempt"
3436
stale-pr-message: >-
35-
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
37+
This PR has been automatically marked as stale because it has not had activity in the last 30 days.
3638
37-
Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity.
39+
If there is no activity for another 90 days, this issue will be automatically closed.
3840
stale-pr-label: "stale"
3941
exempt-pr-label: "stale/exempt"
42+
delete-branch: true

0 commit comments

Comments
 (0)