-
New Feature
-
Resolution: Unresolved
-
Major
I am working on a Jenkins job which need to ensure the current state of locked/protected branches. There was new property introduced in GitHub API which is still not exposed in:
https://github.com/hub4j/github-api/blob/main/src/main/java/org/kohsuke/github/GHBranchProtection.java
and
https://github.com/hub4j/github-api/blob/main/src/main/java/org/kohsuke/github/GHBranchProtectionBuilder.java
I do not see the property send via hook events when I use Generic-webhook-trigger-plugin as well.
From my point of view exposing this property will be very useful in the case when we need to have a job/automation which will apply the required state of branch protection using the lock_branch functionality.
With regards,
Plamen Angelov