More granular error for GitHub branch protection rules
More granular error for GitHub branch protection rules

Right now users get a cryptic error from GitHub:

protected branch hook declined

when pushing, while they don't necessarily know about
protected branches.

Using an or in the regex because we might need to add
more conditions to the pattern.

BUG=130042134
PiperOrigin-RevId: 244730205
Change-Id: I6605a24926db8dcdda162a91c4bde4404322878b

google/copybara,google/copybara,google/copybara