You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In recent versions of Bitbucket the PR restrictions are implemented via merge check hooks, and are listed as hooks too on the REST interface.
The problem is that when someone changes the hooks for this repo, and BEC enforces the hooks, it also deletes the merge check hooks. Then it has to enforce the pr restrictions again.
It's just pure luck that hooks are checked before pr restrictions, so at the end we arrive to the correct config. But this should be fixed.
The text was updated successfully, but these errors were encountered:
Consider a repo with some basic PR restrictions and hooks:
In recent versions of Bitbucket the PR restrictions are implemented via merge check hooks, and are listed as hooks too on the REST interface.
The problem is that when someone changes the hooks for this repo, and BEC enforces the hooks, it also deletes the merge check hooks. Then it has to enforce the pr restrictions again.
It's just pure luck that hooks are checked before pr restrictions, so at the end we arrive to the correct config. But this should be fixed.
The text was updated successfully, but these errors were encountered: