The requiresConversationResolution BranchProtectionRule isn't available until later GitHub Enterprise (GHE) versions, so we check the API before trying to use it.
I think in the future, if we use new fields we should update this logic to check for the field availability to ensure better GHE compatibility.
The
requiresConversationResolution
BranchProtectionRule isn't available until later GitHub Enterprise (GHE) versions, so we check the API before trying to use it.I think in the future, if we use new fields we should update this logic to check for the field availability to ensure better GHE compatibility.
resolves #727 related #728