POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies
repos
Creates a deployment branch policy for an environment.
You must authenticate using an access token with the repo scope to use this endpoint. GitHub Apps must have the administration:write permission for the repository to use this endpoint. Create a deployment branch policy