GitHub only today. On GitHub the checks are native check runs (rich output, re-runnable from the PR’s checks tab); on GitLab they publish as commit statuses, and merge execution is GitHub-specific.
Enable It
- Go to Settings → Configuration and pick the profile your repos use.
- Under PR/MR risk assessment (mode must not be Off), switch on Merge gate.
- Set your knobs:
- Auto-merge risk threshold — highest assessed risk an author may merge without review (default
low) - Ready to merge label — the label an author applies to say “merge this” (default
Ready to merge) - Needs-review label — always forces peer review, at any risk level (default
zenable/needs-review)
- Auto-merge risk threshold — highest assessed risk an author may merge without review (default
Zenable Risk Assessment check on every PR: pending while reviewing, passing with the assessed level once done. The check’s output explains that level — a table scoring every rubric dimension 0–10, the weighted composite they produce, the risk floor when one raised the result, and a collapsed table of every risk floor rule in force with whether it applied and why. The assessment rides the PR — a push carries the latest result forward to the new commit, so nothing goes red or pending mid-iteration. Review timing is unchanged and configured in one place — see Reviewer Configuration for when reviews run and how to request one. Before moving on, open a small test PR and confirm the configuration works as expected: the check goes pending, then passes with an assessed level, the risk label lands on the PR, and the assessment summary appears in the check’s output.
Wire It Into Branch Protection
We recommend creating three rulesets on your default branch (Repo → Settings → Rules → Rulesets): your CI baseline, an AI review ruleset, and a human review ruleset:1
CI baseline
Your existing required checks, such as requiring linear history, and a Require a pull request rule with 0 approvals.
2
Automated Risk Assessment
One required status check:
Zenable Risk Assessment, with the Zenable App selected as the source. Consider adding org admins as bypass actors (For pull requests only) as a break-glass if Zenable is ever unavailable.3
Human review
Your human review requirements, when they apply (for instance, approval count and code owners). Add the Zenable App as a bypass actor, For pull requests only. Zenable bypasses it only for acceptable levels of risk after the author requests to merge (by attaching the appropriate label) so they maintain full control over timing.
Merging a Low-Risk PR
As the PR author, once the check shows your PR at or below the threshold, and if you’d like to merge your PR:- Enable auto-merge on the PR (to define the merge method and commit message you want Zenable to use), or
- Apply the Ready to merge label yourself. Importantly, the label must be applied by the PR author for it to be considered.
Merge Queues
If your default branch uses a GitHub merge queue, Zenable adds the PR to the queue instead of merging it, so it’s tested together with the latest default branch before it lands. The queue’s merge method applies.- The PR already has the approvals your rulesets require: Zenable adds it to the queue.
- The PR is within your risk threshold and still needs a review: GitHub’s queue only accepts PRs whose reviews are satisfied, so by default the PR waits for review like any other. To let these PRs skip the review, put the merge queue rule in a ruleset of its own and add the Zenable App as a bypass actor, For pull requests only. Zenable then merges the PR directly, updating its branch first if it’s behind the default branch, so it’s still tested against the latest code.
- Every required check must run on the queue’s commit. For GitHub Actions, add the
merge_grouptrigger to each workflow behind a required check. Zenable publishes its own checks there; the risk assessment passes when every PR in the queue entry has one. - The Zenable App needs the Merge queues (read-only) permission. Organizations that installed the app before it was added will be prompted by GitHub to approve the update. Until an organization owner approves it, Zenable’s checks never reach the queue and queued PRs time out; Zenable comments on the PR and flags the missing permission on the Integrations page.
Review Check (no gating)
Want visibility without any merge policy? Enable Review check on commits under PR Reviews in the same configuration profile. Zenable adds aZenable Review check on all PRs that are enabled for PR reviews: pending while a review runs, passing when the review has completed (naming the assessed risk level) and skipped for each commit that hasn’t been reviewed. Because skipped counts as passing on GitHub, it informs without gating, and it works alongside or entirely independent of risk-based merging.
Providing Feedback on a Risk Assessment
When an assessed risk level doesn’t match your team’s judgment, providing feedback lets Zenable make recommendations that align to your preferences. Run the/z:pr-risk skill from your coding agent (or use the add_pr_risk_eval_case MCP tool) to open a case. Zenable generates a small set of variant assessments of the same PR — reordering files, findings, and rubric questions, and running one without the PR description — to gauge how stable the current result is. It then searches for a single change to your profile settings (one rubric weight, one disabled dimension, or one risk floor) that fixes at least one case without regressing any other case on that profile.
When a fix is found, it surfaces as a configuration proposal in Settings → Configuration proposals, following the same accept/reject flow as other proposed changes. The full eval suite — variant cases, scores, and any candidate — is visible under Evaluations → PR risk.
Providing feedback and reading the eval suite each cost 10 credits and require a paid plan.