-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (43 loc) · 1.31 KB
/
stale.yml
File metadata and controls
47 lines (43 loc) · 1.31 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
40
41
42
43
44
45
46
47
name: Stale Issues
on:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale-issues:
name: Close stale issues
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v10
with:
days-before-stale: 60
days-before-close: 14
stale-issue-label: stale
stale-issue-message: >
This issue has been automatically marked as stale because it has
not had recent activity. It will be closed in 14 days if no
further activity occurs.
exempt-issue-labels: "pinned,security,enhancement"
only-labels: ""
operations-per-run: 30
remove-stale-when-updated: true
stale-prs:
name: Close stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v10
with:
days-before-stale: 30
days-before-close: 14
stale-pr-label: stale
stale-pr-message: >
This pull request has been automatically marked as stale because
it has not had recent activity. It will be closed in 14 days if
no further activity occurs.
exempt-pr-labels: "pinned,security"
only-pr-labels: ""
operations-per-run: 30
remove-stale-when-updated: true