Repository navigation
64 lines (61 loc) · 2.38 KB
/
Copy pathstale.yml
File metadata and controls
64 lines (61 loc) · 2.38 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
53
54
55
56
57
58
59
60
61
62
63
64
name: Scheduled - Close Stale and Lock Issues
on:
workflow_dispatch:
schedule:
- cron: '15 10 * * 6'
permissions:
contents: read
jobs:
stale:
if: github.event.repository.fork == false
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v10
with:
stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity.'
stale-issue-label: 'J-stale'
stale-pr-label: 'J-stale'
days-before-stale: 180
days-before-close: 14
exempt-all-milestones: true
operations-per-run: 100
- uses: actions/stale@v10
with:
close-issue-message: 'This issue was closed because we did not receive any additional information after 14 days.'
stale-issue-label: 'J-awaiting answer'
days-before-stale: -1
days-before-close: 14
labels-to-add-when-unstale: 'A-needs-triaging'
- uses: actions/stale@v10
with:
close-issue-message: 'This issue was closed because we did not receive any additional information after 14 days.'
stale-issue-label: 'J-logging'
days-before-stale: -1
days-before-close: 14
labels-to-add-when-unstale: 'A-needs-triaging'
- uses: actions/stale@v10
with:
close-issue-message: 'This issue was closed because we did not receive any additional information after 14 days.'
stale-issue-label: 'J-issue-template'
days-before-stale: -1
days-before-close: 14
labels-to-add-when-unstale: 'A-needs-triaging'
lock:
if: github.event.repository.fork == false
permissions:
issues: write
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v6
with:
process-only: 'issues'
issue-inactive-days: '30'
issue-lock-reason: ''
issue-comment: >
This issue has been automatically locked since there
has not been any recent activity since it was closed.
Please open a new issue for related bugs.