[FEAT]: Support for "Requires Deployments"
Opened this issue · 1 comments
MarkEnverus commented
Describe the need
The v4 API adds in support for setting Required Deployments as a check before a PR can be merged. We want to add this into Terra. I have attempted to do so using my limited GO skills here - #2452
Here is the API Docs
https://docs.github.com/en/graphql/reference/input-objects
And the relevant calls
requiredDeploymentEnvironments ([String!]) | The list of required deployment environments.
-- | --
requiredDeploymentEnvironments ([[String!]](https://docs.github.com/en/graphql/reference/scalars#string))
The list of required deployment environments.
requiresDeployments (Boolean) | Are successful deployments required before merging.
-- | --
requiresDeployments ([Boolean](https://docs.github.com/en/graphql/reference/scalars#boolean))
Are successful deployments required before merging.
SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
MarkEnverus commented
any ideas on the PR?