Adds users to the list of people allowed to push to a protected branch in an organization repository. Important notes: - This action only works on organization-owned repositories (not personal repos) - The branch must already have protection rules with restrictions enabled - Use…
repoRequiredstringThe name of the repository, without the `.git` extension. This name is not case-sensitive.
ownerRequiredstringThe account owner of the repository (must be an organization for user restrictions). This name is not case-sensitive.
usersRequiredarrayThe list of user logins to grant push access to the protected branch. Users must have write access to the repository. An empty list will remove all user restrictions.
branchRequiredstringThe name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, refer to the GitHub GraphQL API documentation.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.