> ## Documentation Index
> Fetch the complete documentation index at: https://docs.revolte.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Pre-build Workflows

> Configure automated code reviews, quality checks, and summarization.

The **Prebuild Workflow** ensures that every Pull Request is analyzed for quality, risk, and compliance before it reaches the build stage.

<div style={{ display: "flex", justifyContent: "center" }}>
  <img src="https://mintcdn.com/poddle-54594c3d/q0Rk3K5lGk3vHIWm/image-v2/yaml/prebuild.png?fit=max&auto=format&n=q0Rk3K5lGk3vHIWm&q=85&s=446b131764a9b05d789643902a518ddb" width="300" data-path="image-v2/yaml/prebuild.png" />
</div>

## How to enable

Activate AI-native code reviews and quality gates for your repository.

<Steps>
  <Step title="Open Prebuild Settings">
    Navigate to **YAML Configuration** > **Repo Preferences** and locate the **Prebuild Workflow** section.
  </Step>

  <Step title="Configure Code Review">
    Toggle **Summarization** and **Fix Suggestions** based on your team's review requirements.
  </Step>

  <Step title="Commit Changes">
    Enter a commit message and select your target branch to persist the changes. See [Syncing Changes](/yaml/syncing) for a detailed walkthrough.
  </Step>
</Steps>

## Pipeline controls

You can toggle specific checks within your `revolte.yaml`:

```yaml revolte.yaml theme={"dark"}
revolte:
  version: "1.0"
  project: Sideline HQ
  appName: sideline-web-admin

  config:
    codeReview:
      summarize: true
      suggestFixes: true
      commentStyle: Balanced
```

## Quick links

* [Agent Workflow](/yaml/repo-preferences/agent-workflow)
* [Preset & Service](/yaml/repo-preferences/preset-service)
* [YAML Overview](/yaml/overview)
