-
Notifications
You must be signed in to change notification settings - Fork 359
52 lines (46 loc) · 1.88 KB
/
stale.yml
File metadata and controls
52 lines (46 loc) · 1.88 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
48
49
50
51
52
name: 'Close stale issues and PRs'
on:
schedule:
# Run every Monday at 1:30 AM UTC
- cron: '30 1 * * 1'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
egress-policy: audit
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
with:
# Issues configuration
days-before-issue-stale: 90
days-before-issue-close: 14
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs.
To keep it open either add a comment or the label `do-not-expire`.
close-issue-message: >
This issue has been automatically closed due to inactivity.
stale-issue-label: 'stale'
exempt-issue-labels: 'do-not-expire,help-wanted'
# Pull requests configuration
days-before-pr-stale: 60
days-before-pr-close: 14
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. You may re-open
it if you need more time.
close-pr-message: >
This pull request has been automatically closed due to inactivity. You may re-open
it if you need more time. We really appreciate your contribution and we are sorry
that this has not been completed.
stale-pr-label: 'stale'
exempt-pr-labels: 'do-not-expire'
# General configuration
operations-per-run: 100
remove-stale-when-updated: true