I’m working with GraphQL API and branch protection rules at the moment.
Everything works pretty well, except one checkbox: Require linear history.
Could you please advise if there’s a way to programmatically enable/disable it via GraphQL API? I couldn’t find anything. If not, could you tell me if there is an estimated time to add this parameter?
I know it exists for GitHub REST API, which requires branch name as an input parameter, but at the time of creating the rules branch doesn’t exist, so it’s impossible to enable this checkbox as well.