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-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,12 @@ jobs:
8
8
stale:
9
9
runs-on: ubuntu-latest
10
10
steps:
11
-
- uses: actions/stale@main
11
+
- uses: actions/stale@v4
12
12
id: stale-issue
13
13
name: stale-issue
14
14
with:
15
+
# general settings
16
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
15
17
stale-issue-message: 'This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.'
16
18
close-issue-message: 'Issue closed due to being stale. Please reopen if issue persists in latest version.'
17
19
days-before-stale: 6
@@ -21,14 +23,18 @@ jobs:
21
23
exempt-issue-labels: 'enhancement,keep,blocked'
22
24
exempt-all-issue-milestones: true
23
25
operations-per-run: 300
26
+
ascending: true
27
+
28
+
# debug
24
29
remove-stale-when-updated: true
25
-
ACTIONS_STEP_DEBUG: true
26
30
debug-only: true
27
31
28
-
- uses: actions/stale@main
32
+
- uses: actions/stale@v4
29
33
id: stale-pr
30
34
name: stale-pr
31
35
with:
36
+
# general settings
37
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
32
38
stale-pr-message: 'This pull request is stale as it has been open for 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.'
33
39
close-pr-message: 'Pull request closed due to being stale.'
34
40
days-before-stale: 10
@@ -38,6 +44,6 @@ jobs:
38
44
exempt-pr-labels: 'keep,blocked,before next release,after next release'
0 commit comments