Describe the bug
We are seeing this issue when Jenkins is receiving a branch_protection_rule webhook event, which is rejected with error "Error 400 Hook should contain event type"
Drilling down to this piece of code, seems branch_protection_rule is missing from GHEvents enum.
Expected behavior
No error 400 is returned when receiving a GitHub branch_protection_rule event
Additional context
I can provide corresponding PR, just would need some guidance reg. scope of the change.
Is it only a matter of adding BRANCH_PROTECTION_RULE into GHEvent?