Git branch protection rule is applied immediately #752
Description
Problem Description
Git branch protection rule is applied immediately and hence unable to force merge certain automated merges
What is actually happening
i protect the branch in general with certain checks for general development using this safe-settings across all repos in my org, but in certain. scenarios, i am required to update the branch with force merge branch as well and as this would be blocked due to the active branch protection i call git api to delete the branch protection and then perform git push.
But in certain cases of huge branches before the git push the branch protection is enabled again immediately due to. which my git api branch protection deletion is also helping and failing to perform the force branch merges
What is the expected behavior
Can i have a wait_timer value set manually, for apply all settings if needed with a wait time for the consumer and have the default as the current case.