File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -371,6 +371,36 @@ branch-protection:
371371 teams : ["wg-app-runtime-interfaces-autoscaler-bots"]
372372 include : [ "^main$" ]
373373
374+ # Stratos
375+ stratos :
376+ protect : true
377+ enforce_admins : false
378+ allow_force_pushes : false
379+ allow_deletions : false
380+ allow_disabled_policies : true
381+ required_status_checks :
382+ contexts :
383+ - " EasyCLA"
384+ - " Lint Check"
385+ - " Frontend Tests (core)"
386+ - " Frontend Tests (store)"
387+ - " Frontend Tests (cloud-foundry)"
388+ - " Frontend Tests (kubernetes)"
389+ - " Frontend Tests (git)"
390+ - " Frontend Tests (shared)"
391+ - " Frontend Tests (extension)"
392+ - " Backend Tests"
393+ - " Build Check"
394+ - " STB Tests"
395+ required_pull_request_reviews :
396+ dismiss_stale_reviews : false
397+ require_code_owner_reviews : true
398+ required_approving_review_count : 1
399+ # develop = dev integration (default); main = release line (rc + stable).
400+ # main is pre-staged here; allow_disabled_policies tolerates it until the
401+ # master->main rename lands. See cloudfoundry/stratos#5507.
402+ include : [ "^develop$", "^main$" ]
403+
374404 # Cloud Controller / CAPI related repos to skip branch protection on
375405 cf-performance-tests-pipeline :
376406 protect : false
You can’t perform that action at this time.
0 commit comments