terraform-provider-github
terraform-provider-github copied to clipboard
Terraform GitHub provider
Resolves #1132 Resolves #1131 ###### Description This PR updates the data source for repository files. It prevents terraform from panicking when trying to retrieve info about a non-existent file. With...
Resolves #1132 ###### Description This PR updates the resource for repository files. It changes the default value for `branch` argument from `main` to the name of the default branch of...
Resolves #1130 ###### Description This PR adds a data source for labels. Given a repository name, it returns a list of labels associated with that repository. I added a [markdown...
closes #692 I haven't done anything with the website docs yet but can if this is approved.
When creating a repository from a template, you can pass in a boolean to include all the branches in the template repo. This is documented here: https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template In addition, the...
###### Description I wanted to use https://registry.terraform.io/providers/integrations/github/latest/docs/data-sources/repository_file to check if a specific file exists or not. I realised it was not possible because `terraform apply` would fail if a file...
This adds a `public` attribute to repository pages. This controls the accessibility of pages. See [the GitHub API docs](https://docs.github.com/en/rest/reference/pages#update-information-about-a-github-pages-site--parameters) for more information. Here is the code in [go-github](https://github.com/google/go-github/blob/master/github/repos_pages.go#L21). Closes https://github.com/integrations/terraform-provider-github/issues/1045...