Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.03 KB

branch-policies.md

File metadata and controls

21 lines (17 loc) · 1.03 KB
title allowTitleToDifferFromFilename shortTitle intro versions topics autogenerated
REST API endpoints for deployment branch policies
true
Deployment branch policies
Use the REST API to manage custom deployment branch policies.
fpt ghec ghes
*
*
*
API
rest

About deployment branch policies

You can use the REST API to specify custom name patterns that branches must match in order to deploy to an environment. The deployment_branch_policy.custom_branch_policies property for the environment must be set to true to use these endpoints. To update the deployment_branch_policy for an environment, see AUTOTITLE.

For more information about restricting environment deployments to certain branches, see AUTOTITLE.