[FEAT]: Add custom deployment protection rules (GitHub app based) to github_repository_environment #1764
Labels
hacktoberfest
Issues for participation in Hacktoberfest
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Feature
New feature or request
Describe the need
I'd like the ability to set custom deployment protection rules for a GitHub environment. I believe the functionality would be added somewhere here:
terraform-provider-github/github/resource_github_repository_environment.go
Line 139 in 498907b
The Rest API: https://docs.github.com/en/rest/deployments/protection-rules?apiVersion=2022-11-28#create-a-custom-deployment-protection-rule-on-an-environment
The argument would take GitHub App integration IDs as input.
SDK Version
No response
API Version
REST 2022-11-28
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: