You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This action, once triggered, reviews the code in the PR, and generates a comment with the identified issue, bugs, misconfigurations, and bad practices in the newly introduced code, with an option to approve the PR if no issues were found.
284
+
This action, once triggered, reviews the code in the PR, and generates a comment with the identified issue, bugs, misconfigurations, and bad practices in the newly introduced code, with an option to approve the PR if no issues were found.
309
285
310
286
<divclass="filter-details"markdown=1>
311
287
@@ -333,6 +309,63 @@ automations:
333
309
APPROVE_PR_ON_LGTM: false # Add conditions for PR approvals. For example - allow approval only for specific users
This action, once triggered, leverages AI to generate a comprehensive summary of the changes in the PR and incorporates it into the PR description.
315
+
316
+
The action automatically analyzes the code modifications to create a clear, high-level overview of what has been changed, making it easier for reviewers to understand the scope and purpose of the PR.
|`concat_mode`| Optional | String | By default `replace`. The mode to add the changes description, can be `replace`, `append`, or `prepend` to the PR description |
323
+
324
+
</div>
325
+
326
+
```yaml+jinja title="example"
327
+
automations:
328
+
pr_description:
329
+
# trigger it only when PR is created or has new commits.
330
+
on:
331
+
- pr_created
332
+
- commit
333
+
# Skip description for Draft PRs and PRs from bots.
Copy file name to clipboardExpand all lines: docs/automations/integrations/LinearBAI/describe-pr/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ starter_kits: [genai]
7
7
# Add PR Description Using LinearB's AI :material-star-circle:
8
8
9
9
<!-- --8<-- [start:example]-->
10
-
Use the `AI_DescribePR` filter to automatically generate and append a concise, AI-generated description to a pull request. This ensures that all PRs include meaningful and helpful descriptions, improving review efficiency.
10
+
Use the [`describe-changes`](/automation-actions/#describe-changes) automation action to automatically generate and append a concise, AI-generated description to a pull request. This ensures that all PRs include meaningful and helpful descriptions, improving review efficiency.
|[`AI_DescribePR`](#ai_describepr) :material-star-circle:{ title="Premium feature" } <br />Returns an AI-generated description of the PR based on the provided input diff | Object | - | String |
46
45
|[`allDocs`](#alldocs)<br />Checks the list includes only images |[`files`](./context-variables.md#files)| - | Bool |
47
46
|[`allImages`](#allimages)<br />Checks the list includes only images |[`files`](./context-variables.md#files)| - | Bool |
48
47
|[`allTests`](#alltests)<br />Checks the list includes only tests |[`files`](./context-variables.md#files)| - | Bool |
@@ -316,38 +315,6 @@ Checks whether any element in the list is `true`. In case the list of elements
This filter uses LinearB’s AI service and is available exclusively for paid accounts.
323
-
324
-
If you’re interested in unlocking this feature, [contact our sales team](https://linearb.io/book-a-demo) to learn more.
325
-
326
-
Leverage LinearB's AI to assist with generating a concise and meaningful description for pull requests based on the provided context. Streamline the review process by summarizing the purpose and key changes in a PR, reducing the manual effort and cognitive load for developers and reviewers.
0 commit comments