Skip to content

Commit 20ad130

Browse files
committed
fix
1 parent 7fed511 commit 20ad130

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/stale.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
name: 'Close stale issues and PRs'
22

33
on:
4+
pull_request:
5+
paths:
6+
- ".github/workflows/stale.yml"
7+
48
schedule:
59
# check issue and pull request once at 01:30 a.m. every day
6-
- cron: '30 1 * * *'
10+
- cron: '15 15 * * *'
711

812
permissions:
9-
contents: write
13+
contents: write # only for delete-branch option
14+
issues: write
15+
pull-requests: write
1016

1117
jobs:
1218
stale:
1319
runs-on: ubuntu-latest
1420
steps:
15-
- uses: actions/stale@v6
21+
- uses: actions/stale@v5
1622
with:
1723
stale-issue-message: 'This issue is marked as stale because it has been marked as invalid or awaiting response for 7 days without any further response. It will be closed in 5 days if the stale label is not removed or if there is no further response.'
1824
stale-pr-message: 'This PR is marked as stale because there has been no activity in the past 45 days. It will be closed in 10 days if the stale label is not removed or if there is no further updates.'
@@ -26,3 +32,4 @@ jobs:
2632
days-before-pr-close: 10
2733
# automatically remove the stale label when the issues or the pull reqquests are updated or commented
2834
remove-stale-when-updated: true
35+
operations-per-run: 50

0 commit comments

Comments
 (0)