dataform-co / dataform-web-tracking

Dataform is a collaborative data modelling platform that enables analysts and engineers to manage complex data models in SQL
https://dataform.co
MIT License
2 stars 0 forks source link

Unable to push commits to a remote branch on github with a PR & protection rules #297

Open lpekelis opened 3 years ago

lpekelis commented 3 years ago

After I create a PR on a branch from the dataform web app to my linked github repo, I'm unable to push further commits to the same branch.

An example of the error I see is

Error: Error: 2 UNKNOWN: Pushing to https://dataform:[token]@github.com/cloudtrucks/dataform-analytics.git%0APOST git-receive-pack (708 bytes)%0Aremote: error: GH006: Protected branch update failed for [BRANCH_NAME]. %0Aremote: error: At least 1 approving review is required by reviewers with write access. %0Aerror: failed to push some refs to 'https://dataform:[token]@github.com/cloudtrucks/dataform-analytics.git'%0A

Pushing to the same branch works fine through git cli.