|
| 1 | +{ |
| 2 | + "id": 22620910, |
| 3 | + "name": "validate", |
| 4 | + "target": "branch", |
| 5 | + "source_type": "Repository", |
| 6 | + "source": "miloshb/studio", |
| 7 | + "enforcement": "active", |
| 8 | + "conditions": { |
| 9 | + "ref_name": { |
| 10 | + "exclude": [], |
| 11 | + "include": [ |
| 12 | + "refs/heads/stage", |
| 13 | + "refs/heads/main" |
| 14 | + ] |
| 15 | + } |
| 16 | + }, |
| 17 | + "rules": [ |
| 18 | + { |
| 19 | + "type": "required_status_checks", |
| 20 | + "parameters": { |
| 21 | + "strict_required_status_checks_policy": true, |
| 22 | + "do_not_enforce_on_create": true, |
| 23 | + "required_status_checks": [ |
| 24 | + { |
| 25 | + "context": "Cloudflare Pages: studio-sun-and-sea", |
| 26 | + "integration_id": 85455 |
| 27 | + }, |
| 28 | + { |
| 29 | + "context": "Cloudflare Pages: eirene-intentio-citta", |
| 30 | + "integration_id": 85455 |
| 31 | + } |
| 32 | + ] |
| 33 | + } |
| 34 | + }, |
| 35 | + { |
| 36 | + "type": "pull_request", |
| 37 | + "parameters": { |
| 38 | + "required_approving_review_count": 0, |
| 39 | + "dismiss_stale_reviews_on_push": false, |
| 40 | + "required_reviewers": [], |
| 41 | + "require_code_owner_review": false, |
| 42 | + "require_last_push_approval": false, |
| 43 | + "required_review_thread_resolution": true, |
| 44 | + "require_extra_approval_for_unattributed_changes": true, |
| 45 | + "allowed_merge_methods": [ |
| 46 | + "merge", |
| 47 | + "squash", |
| 48 | + "rebase" |
| 49 | + ] |
| 50 | + } |
| 51 | + }, |
| 52 | + { |
| 53 | + "type": "required_linear_history" |
| 54 | + }, |
| 55 | + { |
| 56 | + "type": "code_quality", |
| 57 | + "parameters": { |
| 58 | + "severity": "errors" |
| 59 | + } |
| 60 | + }, |
| 61 | + { |
| 62 | + "type": "code_scanning", |
| 63 | + "parameters": { |
| 64 | + "code_scanning_tools": [ |
| 65 | + { |
| 66 | + "tool": "CodeQL", |
| 67 | + "security_alerts_threshold": "high_or_higher", |
| 68 | + "alerts_threshold": "errors" |
| 69 | + } |
| 70 | + ] |
| 71 | + } |
| 72 | + }, |
| 73 | + { |
| 74 | + "type": "copilot_code_review", |
| 75 | + "parameters": { |
| 76 | + "review_on_push": true, |
| 77 | + "review_draft_pull_requests": false |
| 78 | + } |
| 79 | + } |
| 80 | + ], |
| 81 | + "bypass_actors": [ |
| 82 | + { |
| 83 | + "actor_id": 5, |
| 84 | + "actor_type": "RepositoryRole", |
| 85 | + "bypass_mode": "always" |
| 86 | + } |
| 87 | + ] |
| 88 | +} |
0 commit comments