Skip to content

How-to Guide

Configure release gates

Set the rules every pull request is checked against, and make GitHub block merges until Zof allows them.

Objective

Set the rules every pull request is checked against, and make GitHub block merges until Zof allows them.

Prerequisites

  • You are a company admin in Zof
  • You are an admin of your GitHub organization

Procedure

Edit a rule

In the sidebar, open Release policies. On the Rules tab, choose Edit on a rule, or Add rule. Make your change and choose Save to draft.

Test the draft

Choose Review & publish. Read Review changes and choose Next. In Test on recent PRs, choose Run the test: Zof decides the pull requests of the last 30 days again under your draft.

Publish

Write a Note saying why the policy changed, then choose Publish. If the dialog shows This needs your confirmation, type publish first.

Make GitHub block merges

Until a ruleset requires the Zof / Control check from the Zof GitHub App, Zof is advisory. Add an active GitHub ruleset that requires it, with an empty bypass list.

Gate deploys too

The CI/CD release gate lets your deploy pipeline ask Zof before it ships. It is turned on for a company on request: ask us at support@zofai.com.

Expected result

On Release policies, the header badge shows the new version marked live, and open pull requests are checked again under it.

Was this page helpful?