figma-plugin
figma-plugin copied to clipboard
Add error handling when trying to push to protected branch
Discussed in https://github.com/six7/figma-tokens/discussions/1253
Originally posted by efbe September 6, 2022 Hello,
When I turn on the "Require a pull request before merging" along with "Do not allow bypassing the above settings" under the "Protect matching branches" in "Branch protection rules" section for Branch settings on Github to disable direct commits to a protected branch like 'master' I can still push from the plugin UI which is fine, but the result is an infinite loading screen about "Pushing to Github" (see attached image).
If it's possible could you add some error handling to this screen, please.
Thank you in advance.