GitOps SQL Review CI
This feature requires Enterprise Plan.
Set up SQL Review CI
This feature requires Version Control Workflow. You can follow VCS Integration (GitOps) to set up.
Below use GitLab as an example. GitHub works in a similar way.
When the box
Enable SQL Review CI via GitLab CI is checked, Bytebase will create a merge request (MR) for your repository to set up the SQL review CI, and redirect you to the MR page. To finish the setup, you should review and merge this MR.
After the setup, in every MR, the SQL review policy will check against changed files matching the file path template.
SQL Review CI via GitHub Action
SQL Review CI via GitLab CI
And you can follow the doc Create Schema Review Policy to create the SQL review policy.