Class BranchRestrictions
-
- All Implemented Interfaces:
public final class BranchRestrictions extends Context
Represents restrictions applied to a branch protection rule in GitHub Actions workflows.
Provides access to the users, teams, and applications that are subject to or exempt from branch protection restrictions. Available in GitHub workflow contexts when branch protection rules with restrictions are configured.