-
Notifications
You must be signed in to change notification settings - Fork 904
Closed
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: FeatureNew feature or requestNew feature or request
Description
Describe the need
In a repository, you can go to Settings -> Actions -> General and then there is a section for controlling the visibility/scope of the repository with respect to GitHub Actions. Here is a screenshot:
Currently, there does not seem to be a way to configure this via this Terraform provider (I apologize in advance if there is).
I found in the GitHub documentation that there is support for some API calls to fetch and set this value:
GET- https://docs.github.com/en/enterprise-cloud@latest/rest/actions/permissions?apiVersion=2022-11-28#get-the-level-of-access-for-workflows-outside-of-the-repositoryPUT- https://docs.github.com/en/enterprise-cloud@latest/rest/actions/permissions?apiVersion=2022-11-28#set-the-level-of-access-for-workflows-outside-of-the-repository
These are documented in the context of the GitHub Enterprise API, so I hope they are not out of scope for this provider. Let me know if they are.
SDK Version
No response
API Version
GitHub REST API 2022-11-28
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
gregjacobs-thrivent, vbnbharath, michael-mulder, benthrivent and sugar700
Metadata
Metadata
Assignees
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: FeatureNew feature or requestNew feature or request
Type
Projects
Status
✅ Done
