-
Notifications
You must be signed in to change notification settings - Fork 23
27 lines (24 loc) · 898 Bytes
/
Copy pathclose-stale.yml
File metadata and controls
27 lines (24 loc) · 898 Bytes
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
name: 'Close stale issues'
on:
schedule:
- cron: '0 10 * * 0' # Every day at 12:00 PM (GMT+2)
permissions:
contents: read
jobs:
stale:
if: github.event.repository.fork == false
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
with:
days-before-stale: 28
days-before-close: 14
days-before-pr-close: -1 # Never close PR's automatically
any-of-labels: 'question, invalid, fixed'
stale-issue-message: 'This issue did not receive an update in the last 4 weeks.
Please take a look again and update the issue with new details,
otherwise it will be automatically closed in 2 weeks. Thank you!'
exempt-all-pr-milestones: true