Git push failed
Github
If you are receiving the error
- Give Omni has to be able to force push schema changes. But approval for pull requests made by users.
- Require Omni to go through the pull request process for all schema refreshe by turning on Require system syncs as in the below screenshot.
[Option 1] Allow schema refreshes to bypass pull-requests but users
- In the git settings for your shared model, set the
Require pull requesttoggle to true. - In the git repo’s settings add a Github ruleset to require pull requests. Select the the rules
Require pull request before merging,Block force pushesandRestrict Deletions. - On the same ruleset’s settings, add a bypass to the bypass list.

[Option 2] Require pull requests for all changes
- In the connection settings for your model, enable the
Branch Based Schemas Refreshsetting. - In the git settings for your shared model, set the
Require pull requestand theRequire for system syncssetting.

- In the git repo’s settings add a Github ruleset to require pull requests. Select the the rules
Require pull request before merging,Block force pushesandRestrict Deletions. To not add anything to the bypass list.