|
3 | 3 | "required_status_checks": {
|
4 | 4 | "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/required_status_checks",
|
5 | 5 | "strict": true,
|
6 |
| - "contexts": [ |
7 |
| - "SonarCloud" |
8 |
| - ], |
| 6 | + "contexts": [], |
9 | 7 | "contexts_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/required_status_checks/contexts",
|
10 |
| - "checks": [ |
11 |
| - { |
12 |
| - "context": "SonarCloud", |
13 |
| - "app_id": 57789 |
14 |
| - } |
15 |
| - ] |
| 8 | + "checks": [] |
| 9 | + }, |
| 10 | + "restrictions": { |
| 11 | + "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/restrictions", |
| 12 | + "users_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/restrictions/users", |
| 13 | + "teams_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/restrictions/teams", |
| 14 | + "apps_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/restrictions/apps", |
| 15 | + "users": [], |
| 16 | + "teams": [], |
| 17 | + "apps": [] |
16 | 18 | },
|
17 | 19 | "required_pull_request_reviews": {
|
18 | 20 | "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/required_pull_request_reviews",
|
19 |
| - "dismiss_stale_reviews": false, |
| 21 | + "dismiss_stale_reviews": true, |
20 | 22 | "require_code_owner_reviews": false,
|
21 |
| - "require_last_push_approval": false, |
22 |
| - "required_approving_review_count": 0 |
| 23 | + "require_last_push_approval": true, |
| 24 | + "required_approving_review_count": 1, |
| 25 | + "dismissal_restrictions": { |
| 26 | + "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/dismissal_restrictions", |
| 27 | + "users_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/dismissal_restrictions/users", |
| 28 | + "teams_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/dismissal_restrictions/teams", |
| 29 | + "users": [], |
| 30 | + "teams": [], |
| 31 | + "apps": [] |
| 32 | + } |
23 | 33 | },
|
24 | 34 | "required_signatures": {
|
25 | 35 | "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/required_signatures",
|
26 | 36 | "enabled": false
|
27 | 37 | },
|
28 | 38 | "enforce_admins": {
|
29 | 39 | "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/enforce_admins",
|
30 |
| - "enabled": true |
| 40 | + "enabled": false |
31 | 41 | },
|
32 | 42 | "required_linear_history": {
|
33 |
| - "enabled": false |
| 43 | + "enabled": true |
34 | 44 | },
|
35 | 45 | "allow_force_pushes": {
|
36 | 46 | "enabled": false
|
|
39 | 49 | "enabled": false
|
40 | 50 | },
|
41 | 51 | "block_creations": {
|
42 |
| - "enabled": false |
| 52 | + "enabled": true |
43 | 53 | },
|
44 | 54 | "required_conversation_resolution": {
|
45 |
| - "enabled": false |
| 55 | + "enabled": true |
46 | 56 | },
|
47 | 57 | "lock_branch": {
|
48 | 58 | "enabled": false
|
|
0 commit comments