terraform-provider-github
terraform-provider-github copied to clipboard
Terraform GitHub provider
### Describe the need Under https://github.com/organizations/[org]/settings/profile you can add "Social accounts" ### SDK Version _No response_ ### API Version _No response_ ### Relevant log output _No response_ ### Code of...
### Describe the need The Github Actions settings page allow configuring whether a maintainer approval is required for workflows to run on fork Pull requests: https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks I didn't find any...
### Expected Behavior Importing an existing team's members fails with an error. The team already exists and has been imported prior to this, with `terraform plan` showing no changes required....
### Expected Behavior Job should work ### Actual Behavior Job fails ### Terraform Version N/A ### Affected Resource(s) Looks like this fails: https://github.com/integrations/terraform-provider-github/blob/main/.github/workflows/immediate-response.yml See this output from GHA: https://github.com/integrations/terraform-provider-github/actions/runs/6756184050/job/18365370590 The...
### Expected Behavior When having `archive_on_destroy` set on `github_repository` removal of the whole repository inclusive related resources should not lead to an error. ### Actual Behavior As soon a repository...
### After the change? Supporting a couple more fields from repository api - delete_on_branch_merge - get_allow_update_branch ### Pull request checklist - [x] Tests for the changes have been added (for...
There is a way to list repository branches (`github_repository.name.branches`), but there doesn't seem to be an equivalent for tags. More generally perhaps [listing refs](https://docs.github.com/en/rest/reference/git#list-matching-references) would be better.
### Describe the need I want to configure [Fork pull request workflows from outside collaborators](https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks) from Terraform for my repo but I can't find that setting. I'd expect this to...
### Affected Resource(s) - github_repository I think `github_repository` should not have a `has_downloads` attribute since it appears to be a deprecated property. The API still returns it, but it does...
Resolves https://github.com/integrations/terraform-provider-github/issues/2070 ---- ### Before the change? * It is not possible to create/read/destroy an email address to/from the GitHub user account. ### After the change? * It is possible...