github_repos_create_deployment_protection_rule
Create a custom deployment protection rule on a GitHub environment to define conditions that must be met before deployments proceed.
Instructions
Create a custom deployment protection rule on an environment
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | owner | |
| repo | Yes | repo | |
| environment_name | Yes | environment_name | |
| body | No | Request body (JSON object) |