-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3141221
commit 0e4896d
Showing
1 changed file
with
33 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,37 @@ | ||
version: 1.1 | ||
|
||
workspace_type: "internal_ec2" | ||
|
||
commands: | ||
- name: "build" | ||
description: "Make sure everything still works." | ||
command: "yarn build-doppler" | ||
return_output_on_success: false | ||
auto_repair: true | ||
- name: "lint_fix" | ||
description: "Lints the code in fix mode, which will fix some errors." | ||
command: "yarn lint:fix" | ||
return_output_on_success: false | ||
auto_repair: true | ||
# See https://docs.ellipsis.dev | ||
|
||
version: 1.1 | ||
pr_review: | ||
auto_review_enabled: true | ||
auto_summarize_pr: true | ||
auto_review_enabled: true # enable auto-review of PRs | ||
auto_summarize_pr: true # enable auto-summary of PRs | ||
confidence_threshold: 0.5 # Threshold for how confident Ellipsis needs to be in order to leave a comment, in range [0.0-1.0] | ||
rules: # customize behavior | ||
- "Code should be DRY (Don't Repeat Yourself)" | ||
- "There should no secrets or credentials in the code" | ||
|
||
# users can customize their own behavior | ||
user_overrides: | ||
# @hbrooks has disabled auto-summary and added a custom rule | ||
- usernames: ["hbrooks"] | ||
auto_review_enabled: false | ||
auto_summarize_pr: false | ||
rules: | ||
- "Code should be DRY (Don't Repeat Yourself)" | ||
|
||
|
||
# Below is an example of how to configure Ellipsis to build and run your repo. | ||
# Uncomment and replace with your own Dockerfile and commands. | ||
|
||
# ====================== | ||
# dockerfile: "src/.Dockerfile" # this will be used to build your repo | ||
# commands: | ||
# - name: "build" | ||
# description: "This command compiles the code and builds the project" | ||
# command: "yarn build" | ||
# return_output_on_success: false # If output isn't useful when the command succeeds | ||
# auto_repair: true # Run this after every code change | ||
# - name: "lint_fix" | ||
# description: "Lints the code in fix mode, which will fix some errors." | ||
# command: "yarn lint:fix" | ||
# return_output_on_success: false | ||
# auto_repair: true | ||
# ====================== |