Skip to content

Commit

Permalink
added rulesets
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylerUva committed Jul 21, 2024
1 parent db73459 commit d37e590
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .downloads/rulesets/All Branches.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"id": 1216778,
"name": "All Branches",
"target": "branch",
"source_type": "Repository",
"source": "FRCTeam3255/Standard_Swerve_Code",
"enforcement": "active",
"conditions": {
"ref_name": {
"exclude": [],
"include": [
"~ALL"
]
}
},
"rules": [
{
"type": "non_fast_forward"
},
{
"type": "required_linear_history"
},
{
"type": "pull_request",
"parameters": {
"required_approving_review_count": 1,
"dismiss_stale_reviews_on_push": true,
"require_code_owner_review": true,
"require_last_push_approval": true,
"required_review_thread_resolution": true
}
},
{
"type": "required_status_checks",
"parameters": {
"strict_required_status_checks_policy": false,
"required_status_checks": [
{
"context": "build",
"integration_id": 15368
}
]
}
}
],
"bypass_actors": []
}
25 changes: 25 additions & 0 deletions .downloads/rulesets/Protect Main.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"id": 1216861,
"name": "Protect Main",
"target": "branch",
"source_type": "Repository",
"source": "FRCTeam3255/Standard_Swerve_Code",
"enforcement": "active",
"conditions": {
"ref_name": {
"exclude": [],
"include": [
"~DEFAULT_BRANCH"
]
}
},
"rules": [
{
"type": "deletion"
},
{
"type": "non_fast_forward"
}
],
"bypass_actors": []
}

0 comments on commit d37e590

Please sign in to comment.