@@ -184,31 +184,31 @@ rulesets:
184184 # place — the next sync will strip it anyway.
185185 - name : protect-default-branch
186186 target : branch
187- enforcement : active # always enforced — overriding this is discouraged
187+ enforcement : active # always enforced — overriding this is discouraged
188188 conditions :
189189 ref_name :
190190 include :
191- - " ~DEFAULT_BRANCH" # special selector: whatever the default branch is
191+ - ' ~DEFAULT_BRANCH' # special selector: whatever the default branch is
192192 exclude : []
193193 # Intentionally empty — see the SECURITY note above. Do not add actors.
194194 bypass_actors : []
195195 rules :
196- - type : deletion # block branch deletion
197- - type : non_fast_forward # block force-push
196+ - type : deletion # block branch deletion
197+ - type : non_fast_forward # block force-push
198198
199199 # ---- 2. PR required (0 reviews) ----
200200 - name : require-pr
201201 target : branch
202- enforcement : ' active' # uncomment to lock this ruleset on in this repo
202+ enforcement : ' active' # uncomment to lock this ruleset on in this repo
203203 conditions :
204204 ref_name :
205- include : [" ~DEFAULT_BRANCH" ]
205+ include : [' ~DEFAULT_BRANCH' ]
206206 exclude : []
207207 bypass_actors :
208208 # Repo admins can bypass (always = prompts at push/merge time, not silent exempt).
209209 # Repos can add more actors (other teams, integrations).
210210 - actor_id : 5
211- actor_type : RepositoryRole # 1=read 2=triage 3=write 4=maintain 5=admin
211+ actor_type : RepositoryRole # 1=read 2=triage 3=write 4=maintain 5=admin
212212 bypass_mode : always
213213 # automation-nsheaps GitHub App — actor_id is substituted from 2549081
214214
@@ -247,7 +247,7 @@ rulesets:
247247 # above) so merge commits remain usable for non-default-branch
248248 # merges. If GitHub is not sent this parameter it backfills all
249249 # three methods, which is why omitting it is not equivalent.
250- allowed_merge_methods : [" squash", " rebase" ]
250+ allowed_merge_methods : [' squash', ' rebase' ]
251251
252252 # ---- 3. Review required — 1 reviewer (active by default) ----
253253 - name : require-1-review
@@ -256,13 +256,13 @@ rulesets:
256256 # enforcement: 'active'
257257 conditions :
258258 ref_name :
259- include : [" ~DEFAULT_BRANCH" ]
259+ include : [' ~DEFAULT_BRANCH' ]
260260 exclude : []
261261 bypass_actors :
262262 # Repo admins can bypass (always = prompts at push/merge time, not silent exempt).
263263 # Repos can add more actors (other teams, integrations).
264264 - actor_id : 5
265- actor_type : RepositoryRole # 1=read 2=triage 3=write 4=maintain 5=admin
265+ actor_type : RepositoryRole # 1=read 2=triage 3=write 4=maintain 5=admin
266266 bypass_mode : always
267267 # automation-nsheaps GitHub App — actor_id is substituted from 2549081
268268
@@ -341,13 +341,13 @@ rulesets:
341341 # enforcement: 'active' # uncomment (and remove the disabled line above) to enable
342342 conditions :
343343 ref_name :
344- include : [" ~DEFAULT_BRANCH" ]
344+ include : [' ~DEFAULT_BRANCH' ]
345345 exclude : []
346346 bypass_actors :
347347 # Repo admins can bypass (always = prompts at push/merge time, not silent exempt).
348348 # Repos can add more actors (other teams, integrations).
349349 - actor_id : 5
350- actor_type : RepositoryRole # 1=read 2=triage 3=write 4=maintain 5=admin
350+ actor_type : RepositoryRole # 1=read 2=triage 3=write 4=maintain 5=admin
351351 bypass_mode : always
352352 # automation-nsheaps GitHub App — actor_id is substituted from 2549081
353353
0 commit comments