class Dependabot::PullRequestUpdater::Azure

def create_temp_branch

def create_temp_branch
  author = author_details&.slice(:name, :email, :date)
  author = nil unless author&.any?
  response = azure_client_for_source.create_commit(
    temp_branch_name,
    base_commit,
    commit_message,
    files,
    author
  )
  JSON.parse(response.body).fetch("refUpdates").first.fetch("newObjectId")
end