Skip to content

Commit 32ea7df

Browse files
authored
Enhance ruleset with Copilot code review tools
Added support for Copilot code review analysis tools including CodeQL, ESLint, and PMD. Signed-off-by: Xavier Lau <[email protected]>
1 parent a411673 commit 32ea7df

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/ruleset-default.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"parameters": {
4545
"required_approving_review_count": 0,
4646
"dismiss_stale_reviews_on_push": true,
47+
"required_reviewers": [],
4748
"require_code_owner_review": false,
4849
"require_last_push_approval": false,
4950
"required_review_thread_resolution": true,
@@ -96,6 +97,22 @@
9697
"parameters": {
9798
"severity": "errors"
9899
}
100+
},
101+
{
102+
"type": "copilot_code_review_analysis_tools",
103+
"parameters": {
104+
"tools": [
105+
{
106+
"name": "CodeQL"
107+
},
108+
{
109+
"name": "ESLint"
110+
},
111+
{
112+
"name": "PMD"
113+
}
114+
]
115+
}
99116
}
100117
],
101118
"bypass_actors": [

0 commit comments

Comments
 (0)