Skip to content

Code hosts · On request

GitLab and Zof

On request, Zof reads a GitLab group: its merge requests show in Releases and Code review, and Zof posts its verdict on them as the zof/control status. Zof switches GitLab on for your company. The GitLab CI deploy gate is coming soon.

On request

What it does

  • Zof reads the projects in a GitLab group you connect with one read-only token.
  • Merge requests from those projects show in Releases and Code review in the console.
  • Status writes: with a second token for a project, Zof posts its verdict on each merge request as the zof/control status. Require zof/control in GitLab to block merges until it passes.
  • The console tells admins when a status-write token is about to expire or stops working, so it can be replaced.

Set it up in GitLab

  1. Ask us to switch GitLab on for your company. You need to be a company admin in Zof.
  2. In the console, open Integrations › GitLab and connect a GitLab group with one read-only token.
  3. For each project that should get the zof/control status, open Integrations › GitLab, choose Set up under Stop risky merges, and paste a separate token with only the api scope, from an account with at least Developer access on the project.
  4. To block merges until Zof’s check passes, require zof/control in the project’s merge settings in GitLab.

Read the full setup guide

The console help covers settings, troubleshooting and what each result means.