forked from k0rdent/kcm
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 1.16 KB
/
Copy pathstale.yaml
File metadata and controls
33 lines (29 loc) · 1.16 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
name: Issues and PRs Stale Cron
on:
schedule:
- cron: "0 10 * * *" # 10am UTC
permissions:
contents: read
jobs:
stale:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Stale non-active and remove marked with stale label
uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0
with:
# issues
days-before-issue-stale: 14
days-before-issue-close: 14
only-issue-labels: "needs-triage,question/discussion"
exempt-issue-labels: "keep"
stale-issue-label: "stale"
stale-issue-message: "This issue is stale because it has been open 14 days, labeled with 'needs-triage' and 'question/discussion', and with no activity. Remove stale label or comment or this will be closed in 14 days."
# pull requests
days-before-pr-stale: 90
days-before-pr-close: 30
stale-pr-label: "stale"
exempt-pr-labels: "keep"
stale-pr-message: "This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days."