github-community-projects / github-community-projects/safe-settings
Add automatic_copilot_code_review_enabled ruleset property
- Dominant language
- JavaScript
- Stars
- 921
- Forks
- 226
- Avg merge
- 18h 3m
- Merged PRs (30d)
- 14
Description
## Prerequisites:
* Is the functionality available in the GitHub UI? If so, please provide a link to information about the feature.
Yes, https://docs.github.com/en/copilot/how-tos/agents/copilot-code-review/configuring-automatic-code-review-by-copilot
* Is the functionality available through the GitHub API? If the functionality is available, please provide links to the
API documentation (https://developer.github.com/v3/) as well as the Octokit documentation (https://octokit.github.io/).
Yes
https://docs.github.com/en/rest/repos/rules?apiVersion=2022-11-28#update-a-repository-ruleset
https://octokit.github.io/rest.js/v22/#repos-update-repo-ruleset

* If the functionality is not yet available in the API, it would be helpful if you
contacted support (https://support.github.com/) or posted in the Community Forum (https://github.community/). Please
include a link to the forum post if you create one or a copy of the response from support.
## New Feature
Please describe the desired new functionality:
Please add support for the ```automatic_copilot_code_review_enabled``` rules parameter to the [ruleset rules](https://github.com/github/safe-settings/blob/b5e27614bd8d1e79322672a7f59d068c575d9694/docs/sample-settings/settings.yml#L309)
Contributor guide
Assessment
This issue has not been assessed yet.