You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/stale.yml
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,24 @@
1
1
name: 'Close stale issues and PRs'
2
2
3
3
on:
4
+
pull_request:
5
+
paths:
6
+
- ".github/workflows/stale.yml"
7
+
4
8
schedule:
5
9
# check issue and pull request once at 01:30 a.m. every day
6
-
- cron: '30 1 * * *'
10
+
- cron: '15 15 * * *'
7
11
8
12
permissions:
9
-
contents: write
13
+
contents: write # only for delete-branch option
14
+
issues: write
15
+
pull-requests: write
10
16
11
17
jobs:
12
18
stale:
13
19
runs-on: ubuntu-latest
14
20
steps:
15
-
- uses: actions/stale@v6
21
+
- uses: actions/stale@v5
16
22
with:
17
23
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.'
18
24
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:
26
32
days-before-pr-close: 10
27
33
# automatically remove the stale label when the issues or the pull reqquests are updated or commented
0 commit comments