Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ellipsis] Add ellipsis.yaml config file #160

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
# ======================
Loading