This repository has been archived by the owner on Jun 9, 2023. It is now read-only.
forked from actions-ecosystem/action-size
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
59 lines (59 loc) · 1.65 KB
/
action.yml
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
name: Actions Ecosystem Size
description: Add label based on the number of lines changed in a pull request.
author: The Actions Ecosystem Authors
inputs:
size_xs_label:
description: The name for size XS label.
required: false
default: size/XS
size_s_label:
description: The name for size S label.
required: false
default: size/S
size_m_label:
description: The name for size M label.
required: false
default: size/M
size_l_label:
description: The name for size L label.
required: false
default: size/L
size_xl_label:
description: The name for size XL label.
required: false
default: size/XL
size_xxl_label:
description: The name for size XXL label.
required: false
default: size/XXL
size_s_threshold:
description: The threshold for size S.
required: false
default: "10"
size_m_threshold:
description: The threshold for size M.
required: false
default: "30"
size_l_threshold:
description: The threshold for size L.
required: false
default: "100"
size_xl_threshold:
description: The threshold for size XL.
required: false
default: "500"
size_xxl_threshold:
description: The threshold for size XXL.
required: false
default: "1000"
outputs:
new_label:
description: The new label's name to be added. If there's no label to be added, it the value is `''`.
stale_labels:
description: The stale labels' name to be removed. If there're multiple labels, they're separated by line breaks. If there's no labels to be removed, it the value is `''`.
runs:
using: node12
main: dist/index.js
branding:
icon: bookmark
color: blue