How-to Guide
Add an integration
Connect GitHub to your Zof company, and add the deploy gate to your pipeline where your company has it.
Objective
Connect GitHub to your Zof company, and add the deploy gate to your pipeline where your company has it.
Prerequisites
- You are a company admin in Zof
- A GitHub organization owner may need to approve repository access
Procedure
Start Connect GitHub
On Home, click Connect GitHub, or start from the GitHub card in Integrations.
Approve on GitHub
Approve the request. Zof asks for organization access (read:org) and your email addresses (user:email). Pick the account to connect under GitHub account and choose Continue.
If the Zof GitHub App is not installed, GitHub asks you to choose repositories and approve it. Installation is part of this flow.
Change repositories later
In Integrations, click Manage on the GitHub card, then Choose repositories on GitHub under Repository access. Back in Zof, reload the Configuration tab.
Add the deploy gate (on request)
The CI/CD release gate is turned on for a company on request. If Settings › Pipeline tokens is not in your settings menu, ask us at support@zofai.com.
Once it is on, click Create token there, save the token as a secret named ZOF_GATE_TOKEN in your CI, and add the gate step before the deploy in your deploy job.
Expected result
The GitHub card in Integrations reads Connected, or Setup incomplete until your repositories block merges. A pull request in a chosen repository gets a Zof / Control check. Zof works with GitHub only today.
Was this page helpful?