mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Add basic PR labeling reviewpad automation (#3310)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9951461df8
commit
54aaa962f9
20
reviewpad.yaml
vendored
Normal file
20
reviewpad.yaml
vendored
Normal file
@@ -0,0 +1,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")
|
||||
Reference in New Issue
Block a user