SQL Review CI validates your SQL changes against configured policies during pull/merge requests. The review bot posts feedback directly as PR comments.

Setup

Before enabling SQL Review CI:
  1. Set up SQL Review Policy - Define your SQL standards and rules
  2. Install GitOps Integration - Connect Bytebase to your VCS

Examples

We provide examples for GitHub, GitLab, Bitbucket, and Azure DevOps below. Adjust the parameters to match your repository structure and workflow.

GitHub

Tutorial: SQL Review with GitHub Actions

Example: GitHub Actions Workflow

github

GitLab

Example: GitLab CI Configuration

gitlab

Bitbucket

Example: Bitbucket Pipelines

bitbucket

Azure DevOps

Example: Azure Pipelines

azure devops