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
The /repos/{template_owner}/{template_repo}/generate takes a "private": <bool> option. This option is not getting set correctly leading to a repo with a "public" visibility.
Sorry for the delay; I had an issue with my pipelines; I've tested it in the same place where I had the issue, and the repositories are now being created as private as expected — thanks for the help, @jcudit !
The
/repos/{template_owner}/{template_repo}/generate
takes a"private": <bool>
option. This option is not getting set correctly leading to a repo with a "public" visibility.https://docs.github.com/en/rest/reference/repos#create-a-repository-using-a-template
This issue should be considered a security bug. It could lead to unintentional exposure of an organizations sensitive or proprietary information.
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug
private
should be set totrue
for avisablity = "private"
repo.Expected Behavior
GitHub repository is created from a template repository and visibility is set to "Private"
Actual Behavior
GitHub repository is created from a template repository with visibility set to "Public"
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: