Skip to content

How-to Guide

Configure governance policies

Set the release rules every pull request is checked against, and who may approve.

Objective

Set the release rules every pull request is checked against, and who may approve.

Prerequisites

  • You are a company admin in Zof and an admin of your GitHub organization
  • Your GitHub account is connected in Integrations

Procedure

Open Release policies

In the sidebar, open Release policies. With no policy yet, choose Start from a template or Start from scratch. Until a policy is live, pull requests show No release policy yet.

Edit a rule

On the Rules tab, click Edit on a rule, or Add rule. Set Applies to, the check it needs and Required or optional, then click Save to draft.

Map branches to environments

On Branches & environments, click Add branch, type a branch name or pattern, pick production or staging, then click Save to draft.

Test and publish

Click Review & publish. Read Review changes, click Run the test under Test on recent PRs, write a Note saying why, and click Publish.

Choose approvers

In Admin, open Roles and its Release approvers section. Add an area from your System map, add teams or people, set Approvals needed, then click Save.

Expected result

Release policies shows the new version marked live, and open pull requests are checked again with it. Their Zof / Control checks update on GitHub.

Was this page helpful?