You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose support be added for deployment protection rules, specifically custom deployment protection rules. This was implemented in go-github here (google/go-github#3050). This allows for Github Apps configured with the correct permissions to be used as a gate for Github Environment deployments. The only resources I currently see as of v6.2.1 are:
github_repository_environment_deployment_policy - This only sets policies for what branch is allowed to deploy a specific environment.
github_repository_environment - This only allows you to set who is allows to review a specific environment and toggles for if it can only be deployed on protected branches or custom branch policies defined in github_repository_environment_deployment_policy.
Describe the need
I propose support be added for deployment protection rules, specifically custom deployment protection rules. This was implemented in go-github here (google/go-github#3050). This allows for Github Apps configured with the correct permissions to be used as a gate for Github Environment deployments. The only resources I currently see as of v6.2.1 are:
github_repository_environment_deployment_policy
- This only sets policies for what branch is allowed to deploy a specific environment.github_repository_environment
- This only allows you to set who is allows to review a specific environment and toggles for if it can only be deployed on protected branches or custom branch policies defined ingithub_repository_environment_deployment_policy
.Documentation:
API:
go-github:
Thanks!
SDK Version
go-github v59.0.0+; terraform-provider-github v6.2.1
API Version
REST 2022-11-28
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: