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-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,21 +6,26 @@ on:
6
6
schedule:
7
7
- cron: '30 1 * * *'
8
8
9
+
env:
10
+
days-before-stale: 60
11
+
days-before-close: 7
12
+
exempt-issue-labels: 'keep-fresh'
13
+
9
14
jobs:
10
15
stale:
11
16
runs-on: ubuntu-latest
12
17
permissions:
13
18
issues: write
14
19
pull-requests: write
15
20
steps:
16
-
- uses: actions/stale@v8
21
+
- uses: actions/stale@v9
17
22
with:
18
-
stale-issue-message: 'This issue is stale because it has been open 45 dayswith no activity. Remove stale label or comment or this will be closed in 5 days.'
19
-
days-before-stale: 45
20
-
days-before-close: 7
23
+
stale-issue-message: 'This issue is stale because it has been open ${{ env.days-before-stale }} days with no activity. Remove stale label or comment or this will be closed in ${{ env.days-before-stale }} days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\n${{ env.exempt-issue-labels }}'
24
+
days-before-stale: ${{ env.days-before-stale }}
25
+
days-before-close: ${{ env.days-before-close }}
21
26
days-before-pr-close: -1
22
27
exempt-all-milestones: true
23
28
close-issue-message: 'This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.'
0 commit comments