Last active 1 month ago

gh-api.json Raw
1{
2 "name": "Default Branch Protection",
3 "enforcement": "active",
4 "target": "branch",
5 "bypass_actors": [
6 {
7 "actor_id": 5,
8 "actor_type": "RepositoryRole",
9 "bypass_mode": "pull_request"
10 }
11 ],
12 "conditions": {
13 "ref_name": {
14 "exclude": [],
15 "include": ["~DEFAULT_BRANCH"]
16 }
17 },
18 "rules": [
19 {
20 "type": "deletion"
21 },
22 {
23 "type": "pull_request",
24 "parameters": {
25 "dismiss_stale_reviews_on_push": true,
26 "require_code_owner_review": true,
27 "require_last_push_approval": true,
28 "required_approving_review_count": 1,
29 "required_review_thread_resolution": false
30 }
31 },
32 {
33 "type": "required_status_checks",
34 "parameters": {
35 "strict_required_status_checks_policy": true,
36 "required_status_checks": [
37 {
38 "context": "call-workflow / test",
39 "integration_id": 15368
40 }
41 ]
42 }
43 }
44 ]
45}