1+ {
2+ "id" : 3893642 ,
3+ "name" : " default" ,
4+ "target" : " branch" ,
5+ "source_type" : " Repository" ,
6+ "source" : " hack-ink/rust-initializer" ,
7+ "enforcement" : " active" ,
8+ "conditions" : {
9+ "ref_name" : {
10+ "exclude" : [],
11+ "include" : [
12+ " ~DEFAULT_BRANCH"
13+ ]
14+ }
15+ },
16+ "rules" : [
17+ {
18+ "type" : " deletion"
19+ },
20+ {
21+ "type" : " non_fast_forward"
22+ },
23+ {
24+ "type" : " creation"
25+ },
26+ {
27+ "type" : " required_linear_history"
28+ },
29+ {
30+ "type" : " merge_queue" ,
31+ "parameters" : {
32+ "merge_method" : " MERGE" ,
33+ "max_entries_to_build" : 5 ,
34+ "min_entries_to_merge" : 1 ,
35+ "max_entries_to_merge" : 5 ,
36+ "min_entries_to_merge_wait_minutes" : 5 ,
37+ "grouping_strategy" : " ALLGREEN" ,
38+ "check_response_timeout_minutes" : 60
39+ }
40+ },
41+ {
42+ "type" : " required_signatures"
43+ },
44+ {
45+ "type" : " pull_request" ,
46+ "parameters" : {
47+ "required_approving_review_count" : 0 ,
48+ "dismiss_stale_reviews_on_push" : true ,
49+ "require_code_owner_review" : false ,
50+ "require_last_push_approval" : false ,
51+ "required_review_thread_resolution" : true ,
52+ "automatic_copilot_code_review_enabled" : true ,
53+ "allowed_merge_methods" : [
54+ " squash"
55+ ]
56+ }
57+ },
58+ {
59+ "type" : " required_status_checks" ,
60+ "parameters" : {
61+ "strict_required_status_checks_policy" : false ,
62+ "do_not_enforce_on_create" : false ,
63+ "required_status_checks" : [
64+ {
65+ "context" : " Task cargo clippy" ,
66+ "integration_id" : 15368
67+ },
68+ {
69+ "context" : " Task cargo fmt" ,
70+ "integration_id" : 15368
71+ },
72+ {
73+ "context" : " Task cargo nextest" ,
74+ "integration_id" : 15368
75+ }
76+ ]
77+ }
78+ },
79+ {
80+ "type" : " code_scanning" ,
81+ "parameters" : {
82+ "code_scanning_tools" : [
83+ {
84+ "tool" : " CodeQL" ,
85+ "security_alerts_threshold" : " high_or_higher" ,
86+ "alerts_threshold" : " errors"
87+ }
88+ ]
89+ }
90+ }
91+ ],
92+ "bypass_actors" : [
93+ {
94+ "actor_id" : null ,
95+ "actor_type" : " OrganizationAdmin" ,
96+ "bypass_mode" : " always"
97+ },
98+ {
99+ "actor_id" : null ,
100+ "actor_type" : " DeployKey" ,
101+ "bypass_mode" : " always"
102+ },
103+ {
104+ "actor_id" : 5 ,
105+ "actor_type" : " RepositoryRole" ,
106+ "bypass_mode" : " always"
107+ }
108+ ]
109+ }
0 commit comments