Skip to content

Support allowances and status check fields for branch protection rules

There are various fields of a branch protection rule that are not yet supported:

  • bypassForcePushAllowances
  • bypassPullRequestAllowances
  • pushAllowances
  • reviewDismissalAllowances
  • requiredStatusChecks (simple case)

They need paging support to retrieves all items if more than 100 exist. Furthermore, they might contain items of 3 different types: app / team / user which needs to be handled differently. Also there is a mismatch between retrieve / storage and update. The update only works with nodeIds while in the definition file we want more human-readable names, like the slug oder login, so we need to resolve the human-readable name to its ids during an update.