forked from OpenBB-finance/OpenBB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reviewpad.yaml
20 lines (19 loc) · 919 Bytes
/
reviewpad.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
api-version: reviewpad.com/v3.x
workflows:
- name: label-pull-request-with-size
if:
- rule: $size(["*.lock","*.csv","*.yaml","*.txt"]) <= 100
extra-actions:
- $addLabel("feat XS")
- rule: $size(["*.lock","*.csv","*.yaml","*.txt"]) > 100 && $size(["*.lock","*.csv","*.yaml","*.txt"]) <= 300
extra-actions:
- $addLabel("feat S")
- rule: $size(["*.lock","*.csv","*.yaml","*.txt"]) > 300 && $size(["*.lock","*.csv","*.yaml","*.txt"]) <= 900
extra-actions:
- $addLabel("feat M")
- rule: $size(["*.lock","*.csv","*.yaml","*.txt"]) > 900 && $size(["*.lock","*.csv","*.yaml","*.txt"]) <= 1800
extra-actions:
- $addLabel("feat L")
- rule: $size(["*.lock","*.csv","*.yaml","*.txt"]) > 1800
extra-actions:
- $addLabel("feat XL")