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
+31-13Lines changed: 31 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -2,25 +2,43 @@ name: Mark stale issues
2
2
3
3
on:
4
4
schedule:
5
-
- cron: '0 * * * *'
5
+
- cron: '0 8 * * *'
6
6
workflow_dispatch:
7
7
issue_comment:
8
8
9
-
jobs:
10
-
stale:
9
+
env:
10
+
stale_label: stale
11
11
12
+
jobs:
13
+
stale_action:
14
+
if: github.event_name != 'issue_comment'
12
15
runs-on: ubuntu-latest
13
16
permissions:
14
17
issues: write
15
18
16
19
steps:
17
-
- uses: actions/stale@v5
18
-
with:
19
-
repo-token: ${{ secrets.GITHUB_TOKEN }}
20
-
days-before-stale: 0
21
-
days-before-close: 5
22
-
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.'
23
-
stale-issue-label: 'Submitter Attention Required'
24
-
exempt-issue-labels: 'pinned, Fixed In Next Release, Bug'
25
-
exempt-all-issue-assignees: true
26
-
operations-per-run: 300
20
+
- uses: actions/stale@v7.0.0
21
+
with:
22
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
23
+
days-before-stale: 30
24
+
days-before-close: 5
25
+
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.'
26
+
stale-issue-label: '$stale_label'
27
+
exempt-issue-labels: 'Internal, Fixed in next release, Bug: Confirmed, Documentation Needed'
28
+
exempt-all-issue-assignees: true
29
+
operations-per-run: 300
30
+
close-issue-reason: 'not_planned'
31
+
32
+
remove_stale: # trigger "stale" removal immediately when stale issues are commented on
0 commit comments