Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/branch_protection_settings/1.x.x.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/1.x.x/protection",
"required_status_checks": {
"url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/1.x.x/protection/required_status_checks",
"strict": true,
"contexts": [
"SonarCloud"
],
"contexts_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/1.x.x/protection/required_status_checks/contexts",
"checks": [
{
"context": "SonarCloud",
"app_id": null
}
]
},
"required_pull_request_reviews": {
"url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/1.x.x/protection/required_pull_request_reviews",
"dismiss_stale_reviews": false,
"require_code_owner_reviews": false,
"require_last_push_approval": false,
"required_approving_review_count": 0
},
"required_signatures": {
"url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/1.x.x/protection/required_signatures",
"enabled": false
},
"enforce_admins": {
"url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/1.x.x/protection/enforce_admins",
"enabled": true
},
"required_linear_history": {
"enabled": false
},
"allow_force_pushes": {
"enabled": false
},
"allow_deletions": {
"enabled": false
},
"block_creations": {
"enabled": false
},
"required_conversation_resolution": {
"enabled": false
},
"lock_branch": {
"enabled": false
},
"allow_fork_syncing": {
"enabled": false
}
}
42 changes: 26 additions & 16 deletions .github/branch_protection_settings/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,44 @@
"required_status_checks": {
"url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/required_status_checks",
"strict": true,
"contexts": [
"SonarCloud"
],
"contexts": [],
"contexts_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/required_status_checks/contexts",
"checks": [
{
"context": "SonarCloud",
"app_id": 57789
}
]
"checks": []
},
"restrictions": {
"url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/restrictions",
"users_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/restrictions/users",
"teams_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/restrictions/teams",
"apps_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/restrictions/apps",
"users": [],
"teams": [],
"apps": []
},
"required_pull_request_reviews": {
"url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/required_pull_request_reviews",
"dismiss_stale_reviews": false,
"dismiss_stale_reviews": true,
"require_code_owner_reviews": false,
"require_last_push_approval": false,
"required_approving_review_count": 0
"require_last_push_approval": true,
"required_approving_review_count": 1,
"dismissal_restrictions": {
"url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/dismissal_restrictions",
"users_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/dismissal_restrictions/users",
"teams_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/dismissal_restrictions/teams",
"users": [],
"teams": [],
"apps": []
}
},
"required_signatures": {
"url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/required_signatures",
"enabled": false
},
"enforce_admins": {
"url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/enforce_admins",
"enabled": true
"enabled": false
},
"required_linear_history": {
"enabled": false
"enabled": true
},
"allow_force_pushes": {
"enabled": false
Expand All @@ -39,10 +49,10 @@
"enabled": false
},
"block_creations": {
"enabled": false
"enabled": true
},
"required_conversation_resolution": {
"enabled": false
"enabled": true
},
"lock_branch": {
"enabled": false
Expand Down
Loading