Skip to content

Commit

Permalink
Add ellipsis.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ellipsis-dev-beta[bot] authored Jan 19, 2024
1 parent 3141221 commit 0e4896d
Showing 1 changed file with 33 additions and 18 deletions.
51 changes: 33 additions & 18 deletions ellipsis.yaml
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
# ======================

0 comments on commit 0e4896d

Please sign in to comment.