Add branch protection rule json
This commit is contained in:
parent
15147f8a2d
commit
93d0b3fc2d
25
.github/rulesets/branch-protection/main.json
vendored
Normal file
25
.github/rulesets/branch-protection/main.json
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"id": 4209024,
|
||||
"name": "Branch protection: main",
|
||||
"target": "branch",
|
||||
"source_type": "Repository",
|
||||
"source": "Catfriend1/syncthing-android",
|
||||
"enforcement": "active",
|
||||
"conditions": {
|
||||
"ref_name": {
|
||||
"exclude": [],
|
||||
"include": [
|
||||
"~DEFAULT_BRANCH"
|
||||
]
|
||||
}
|
||||
},
|
||||
"rules": [
|
||||
{
|
||||
"type": "deletion"
|
||||
},
|
||||
{
|
||||
"type": "non_fast_forward"
|
||||
}
|
||||
],
|
||||
"bypass_actors": []
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user