terraform-provider-github icon indicating copy to clipboard operation
terraform-provider-github copied to clipboard

Feature Request: Enterprise Settings

Open HariSekhon opened this issue 2 years ago • 8 comments

Please support GitHub Enterprise settings, such as:

  • disabling repository creation by members
  • repository forking
  • outside collaborators
  • GitHub Actions:
    • 3rd party actions and workflows allowed (can currently only be done at organization level)
    • read-only workflow permissions by default
  • repository admin permissions for:
    • repo visibility change
    • deletion and transfer
    • issue deletion
  • Biliing spending limits

related to #1200

HariSekhon avatar Jun 22 '22 10:06 HariSekhon

GitHub Enterprise support have confirmed the Rest API is deficient, so have raised a public discussions feature request here to track this publicly:

https://github.com/github-community/community/discussions/19570

HariSekhon avatar Jun 27 '22 19:06 HariSekhon

I still don't think this behavior is available through the API. The only enterprise APIs I can find are here, which isn't what we're after.

I've inquired about this internally and will report back if I hear anything interesting.

kfcampbell avatar Sep 23 '22 20:09 kfcampbell

I've reached out to the API team and they're aware of the request. At the moment this feature request is not being actively worked on and I can't offer a timeline for it, unfortunately.

kfcampbell avatar Sep 23 '22 20:09 kfcampbell

It appears like some of these settings are present in the GraphQL API (i.e. UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput). Does this provider only use the REST API or would it be possible to use these?

liamoneill avatar Dec 21 '22 00:12 liamoneill

@liamoneill this provider makes use of the GraphQL API as well! If you'd like to create a PR to support this behavior, please feel free!

kfcampbell avatar Jan 03 '23 22:01 kfcampbell

I also need the option to enable/disable forking

silvan02 avatar Jan 12 '23 12:01 silvan02

👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

github-actions[bot] avatar Apr 21 '24 01:04 github-actions[bot]

@kfcampbell are you able to put the Status: Pinned label on this to stop it being closed? The feature request still stands.

ausfestivus avatar Apr 24 '24 04:04 ausfestivus