Description
Currently in action_runners.go
, there is support for getting and setting actions permissions on the organization level but not on the repository level.
Endpoints to add:
https://docs.github.com/en/rest/reference/actions#get-github-actions-permissions-for-a-repository
https://docs.github.com/en/rest/reference/actions#set-github-actions-permissions-for-a-repository
Additionally for allowed_actions: selected
(not required for myself as I'm only setting enabled: false
):
https://docs.github.com/en/rest/reference/actions#get-allowed-actions-for-a-repository
https://docs.github.com/en/rest/reference/actions#set-allowed-actions-for-a-repository
Happy to pick up the first part of this issue and additionally the second later on. If I am missing something, please let me know, but I'm pretty sure there isn't support based on my basic searching of the repo and issues.