Lines Matching defs:BranchProtection
25 type BranchProtection struct { struct
26 BranchName string `json:"branch_name"`
27 EnablePush bool `json:"enable_push"`
28 EnablePushWhitelist bool `json:"enable_push_whitelist"`
29 PushWhitelistUsernames []string `json:"push_whitelist_usernames"`
30 PushWhitelistTeams []string `json:"push_whitelist_teams"`
31 PushWhitelistDeployKeys bool `json:"push_whitelist_deploy_keys"`
32 EnableMergeWhitelist bool `json:"enable_merge_whitelist"`
33 MergeWhitelistUsernames []string `json:"merge_whitelist_usernames"`
34 MergeWhitelistTeams []string `json:"merge_whitelist_teams"`
35 EnableStatusCheck bool `json:"enable_status_check"`
36 StatusCheckContexts []string `json:"status_check_contexts"`
37 RequiredApprovals int64 `json:"required_approvals"`
38 EnableApprovalsWhitelist bool `json:"enable_approvals_whitelist"`
39 ApprovalsWhitelistUsernames []string `json:"approvals_whitelist_username"`
40 ApprovalsWhitelistTeams []string `json:"approvals_whitelist_teams"`
41 BlockOnRejectedReviews bool `json:"block_on_rejected_reviews"`
42 BlockOnOfficialReviewRequests bool `json:"block_on_official_review_requests"`
43 BlockOnOutdatedBranch bool `json:"block_on_outdated_branch"`
44 DismissStaleApprovals bool `json:"dismiss_stale_approvals"`
45 RequireSignedCommits bool `json:"require_signed_commits"`
46 ProtectedFilePatterns string `json:"protected_file_patterns"`
47 UnprotectedFilePatterns string `json:"unprotected_file_patterns"`
49 Created time.Time `json:"created_at"`
51 Updated time.Time `json:"updated_at"`