forked from EddieHubCommunity/open-source-practice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reviewpad.yml
40 lines (36 loc) · 1.22 KB
/
reviewpad.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
api-version: reviewpad.com/v3.x
labels:
small:
color: "294b69"
medium:
color: "a8c3f7"
large:
color: "8a2138"
workflows:
- name: label-pull-request-with-size
if:
- rule: $size() <= 5
extra-actions:
- $addLabel("small")
- rule: $size() > 5 && $size() <= 15
extra-actions:
- $addLabel("medium")
- rule: $size() > 15
extra-actions:
- $addLabel("large")
- name: first-time-issue-contributor
on:
- "issue"
always-run: true
if:
- rule: $issueCountBy($author(), "all") == 1
extra-actions:
- '$commentOnce($sprintf("Welcome @%v! Thank you so much for your first issue! Welcome to the community. Also join us in the EddieHub Discord for realtime chat and calls http://discord.eddiehub.org", [$author()]))'
- name: first-time-pr-contributor
on:
- "pull_request"
always-run: true
if:
- rule: $pullRequestCountBy($author(), "all") == 1
extra-actions:
- '$commentOnce($sprintf("Welcome @%v! Thank you so much for your first pull request! Welcome to the community. Also join us in the EddieHub Discord for realtime chat and calls http://discord.eddiehub.org", [$author()]))'