pub async fn repos_slash_set_app_access_restrictions(
configuration: &Configuration,
owner: &str,
repo: &str,
branch: &str,
repos_set_app_access_restrictions_request: Option<ReposSetAppAccessRestrictionsRequest>,
) -> Result<Vec<Integration>, Error<ReposSlashSetAppAccessRestrictionsError>>
Expand description
Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub’s products in the GitHub Help documentation. Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch.