Skip to content

Commit 47874e2

Browse files
authored
Add LinearB AI review and description automations (#821)
1 parent 1183354 commit 47874e2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/downloads/gitstream-bb.cm

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,26 @@ manifest:
66

77

88
automations:
9+
# Use LinearB's AI service to review the changes
10+
linearb_ai_review:
11+
if:
12+
- {{ not pr.draft }}
13+
- {{ not is.bot }}
14+
run:
15+
- action: code-review@v1
16+
args:
17+
approve_on_LGTM: {{ calc.safe_changes }}
18+
19+
# Use LinearB's AI service to add a description to the PR
20+
linearb_ai_description:
21+
if:
22+
- {{ not pr.draft }}
23+
- {{ not (is.bot_author or is.bot_branch) }}
24+
run:
25+
- action: describe-changes@v1
26+
args:
27+
concat_mode: append
28+
929
# Add a label indicating how long it will take to review the PR.
1030
estimated_time_to_review:
1131
if:

0 commit comments

Comments
 (0)