Skip to content

Commit 1b47e81

Browse files
authored
Create ai_automations.cm
1 parent 9643f64 commit 1b47e81

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.cm/ai_automations.cm

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# -*- mode: yaml -*-
2+
3+
manifest:
4+
version: 1.0
5+
6+
7+
automations:
8+
linearb_ai_review:
9+
on:
10+
- commit
11+
if:
12+
- {{ pr.draft == false }}
13+
- {{ pr.author | match(list=['github-actions', 'dependabot', '[bot]']) | nope }}
14+
run:
15+
- action: code-review@v1
16+
args:
17+
approve_on_LGTM: {{ APPROVE_PR_ON_LGTM }}
18+
19+
20+
pr_description_by_linearb_ai:
21+
on:
22+
- commit
23+
if:
24+
- {{ pr.draft == false }}
25+
- {{ pr.author | match(list=['github-actions', 'dependabot', '[bot]']) | nope }}
26+
run:
27+
- action: update-description@v1
28+
args:
29+
concat_mode: append
30+
description: {{ source | AI_DescribePR }}
31+
32+
33+
34+
APPROVE_PR_ON_LGTM: {{ pr.author | match(list=PR_REVIEW_USERS) | some }}
35+
PR_REVIEW_USERS:
36+
- Fadikhayo1995
37+
- RoyKulik
38+
- yeelali14
39+
- nivSwisa1
40+
- EladKohavi
41+
- MishaKav
42+
- vim-zz
43+
- PavelLinearB
44+
- saharavishag
45+
- ilyatrunovlb
46+
- orielz
47+
- KerenLinearB
48+
- YovelElad

0 commit comments

Comments
 (0)