chdsbd / kodiak

🔮 A bot to automatically update and merge GitHub PRs
https://kodiakhq.com
GNU Affero General Public License v3.0
1.04k stars 63 forks source link

feat(bot): support older GraphQL schemas #734

Closed chdsbd closed 3 years ago

chdsbd commented 3 years ago

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