Skip to content

Commit 3b53b39

Browse files
authored
Merge pull request #165 from smlx/update-rules
feat: update rules to the new format
2 parents 75cfab8 + 55c2a99 commit 3b53b39

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

protect-default-branch.json

+12-4
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@
3838
"parameters": {
3939
"strict_required_status_checks_policy": true,
4040
"required_status_checks": [
41-
{
42-
"context": "CodeQL",
43-
"integration_id": 57789
44-
},
4541
{
4642
"context": "lint-actions",
4743
"integration_id": 15368
@@ -64,6 +60,18 @@
6460
}
6561
]
6662
}
63+
},
64+
{
65+
"type": "code_scanning",
66+
"parameters": {
67+
"code_scanning_tools": [
68+
{
69+
"tool": "CodeQL",
70+
"security_alerts_threshold": "medium_or_higher",
71+
"alerts_threshold": "errors_and_warnings"
72+
}
73+
]
74+
}
6775
}
6876
],
6977
"bypass_actors": [

0 commit comments

Comments
 (0)