Skip to content

GHEvent enum is missing branch_protection_rule #1297

Closed

Description

@gjabouley-invn

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?

Activity

  1. gsmet commented on Nov 16, 2021

    @gsmet
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions