-
-
Notifications
You must be signed in to change notification settings - Fork 54
39 lines (30 loc) · 1.04 KB
/
stale-issues.yml
File metadata and controls
39 lines (30 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: 'Close Stale Issues'
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v9
with:
# Message to comment on stale issues
stale-issue-message: >
This issue has been automatically marked as stale due to 14 days of inactivity
and will now be closed.
# Mark issues as stale after 14 days
days-before-issue-stale: 14
# Close issues immediately after marking as stale
days-before-issue-close: 0
# Label to apply when marking issues as stale
stale-issue-label: 'stale'
# Remove stale label if an update is made
remove-stale-when-updated: true
# Disable PR processing entirely by setting these to -1
days-before-pr-stale: -1
days-before-pr-close: -1
# Restrict to only issues by using an empty label list for only-issue-labels
only-issue-labels: ''