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
+28-13Lines changed: 28 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -2,25 +2,40 @@ 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
9
jobs:
10
-
stale:
11
-
10
+
stale_action:
11
+
if: github.event_name != 'issue_comment'
12
12
runs-on: ubuntu-latest
13
13
permissions:
14
14
issues: write
15
15
16
16
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
17
+
- uses: actions/stale@v7.0.0
18
+
with:
19
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
20
+
days-before-stale: 30
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: 'stale'
24
+
exempt-issue-labels: 'Internal, Fixed in next release, Bug: Confirmed, Documentation Needed'
25
+
exempt-all-issue-assignees: true
26
+
operations-per-run: 300
27
+
close-issue-reason: 'not_planned'
28
+
29
+
remove_stale: # trigger "stale" removal immediately when stale issues are commented on
0 commit comments