diff --git a/mintlify/gitops/sql-review-ci.mdx b/mintlify/gitops/sql-review-ci.mdx index 90d7b8a80..9e6b11f82 100644 --- a/mintlify/gitops/sql-review-ci.mdx +++ b/mintlify/gitops/sql-review-ci.mdx @@ -2,22 +2,41 @@ title: SQL Review CI --- -Once you've set up the [GitOps Workflow](/gitops/overview/), your SQL Review Policy will automatically be applied to all pull/merge requests. The results of the SQL review will appear as a comment. +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](/sql-review/review-policy) - Define your SQL standards and rules +2. [Install GitOps Integration](/gitops/installation) - 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 + + ![github](/content/docs/gitops/sql-review-ci/github-pr-sql-review.webp) ## GitLab + + ![gitlab](/content/docs/gitops/sql-review-ci/gitlab-pr-sql-review.webp) ## Bitbucket + + ![bitbucket](/content/docs/gitops/sql-review-ci/bb-pr-sql-review.webp) ## Azure DevOps -![azure devops](/content/docs/gitops/sql-review-ci/azure-devops-pr-sql-review.webp) + + +![azure devops](/content/docs/gitops/sql-review-ci/azure-devops-pr-sql-review.webp) \ No newline at end of file