repo
scope to use this endpoint. GitHub Apps must have theadministration
permission to use this endpoint.curl --location --request PUT 'https://api.github.com/repos///actions/permissions/access' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_level": "none"
}'
{}
none
means the access is only possible from workflows in this repository. user
level access allows sharing across user owned private repos only. organization
level access allows sharing across the organization.