env0/Apply commit status as a required status check in GitHub branch protection, this creates a circular dependency: the PR is not mergeable because env0/Apply has not passed yet, but apply cannot run because the PR is not mergeable.
The Bypass Apply Mergeability Check policy resolves this by evaluating the PR’s mergeability while excluding env zero’s own Apply status checks from the requirements.
This policy applies to GitHub and GitHub Enterprise only. Other VCS providers are not affected.
How It Works
When this policy is enabled, env zero evaluates the PR’s mergeability by querying GitHub’s branch protection rules and repository rulesets directly, rather than relying on GitHub’s merged mergeability state. During this evaluation, env zero excludes its own Apply-related status checks (such asenv0/Apply) from the required checks list.
This means all other branch protection requirements (such as required reviews and other CI checks) are still enforced. Only the env zero Apply checks are bypassed.
Enabling the Policy
Navigate to Organization Settings → Policies, and under Plan and Apply from PR comments, check Bypass PR mergeability check for env0/Apply (GitHub only).
When to Use This Policy
Enable this policy if you:- Use PR comment applies
- Have GitHub branch protection or repository rulesets that require the
env0/Applystatus check to pass before merging