Skip to content

Integrations

GitLab

Merge requests and status writes, on request.

Overview

On request: GitLab works with Zof once Zof switches it on for your company.

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.

Step-by-step procedure

Ask for GitLab

Ask us to switch GitLab on for your company. You need to be a company admin in Zof.

Connect a GitLab group

In the console, open Integrations › GitLab and connect a GitLab group with one read-only token.

Set up status writes

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.

Require zof/control in GitLab

To block merges until Zof’s check passes, require zof/control in the project’s merge settings in GitLab.

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.

Was this page helpful?