github-community-projects / github-community-projects/safe-settings

Add automatic_copilot_code_review_enabled ruleset property

Open
#853 1 comment 3 reactions 0 assignees View on GitHub
enhancement
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
![Image](https://github.com/user-attachments/assets/10d66f5d-a201-4e16-af8a-e4d66d2dc012)

* 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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.