terraform-provider-github
terraform-provider-github copied to clipboard
[FEAT]: Can't configure `Fork pull request workflows from outside collaborators` from Terraform
Describe the need
I want to configure Fork pull request workflows from outside collaborators from Terraform for my repo but I can't find that setting. I'd expect this to be a property of the github_repository resource.
SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
It looks like this is blocked by the lack of availability of a field to control this setting in the underlying API (scanned permissions, workflow runs, and this community discussion), and in turn, that means unavailability in go-github:
https://github.com/google/go-github/blob/d26bcb8be17264a1fad1aaf15147625c0df75a99/github/repos.go#L545-L572