integrations / integrations/terraform-provider-github

[FEAT]: Exclude list for Team Code Review settings

Open
#1,972 11 comments 11 reactions 0 assignees View on GitHub
Type: Feature
Dominant language
Go
Stars
1.2k
Forks
1k
Avg merge
1d 14h
Merged PRs (30d)
8

Description

### Describe the need

This is a continuation of #1249 which I think should be closed already by #1356

The current version of [`github_team_settings`](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/team_settings) is missing one field that should be available which makes it possible to exclude certain members of the team from being assigned to review PR:s (see image below).

![image](https://github.com/integrations/terraform-provider-github/assets/34520175/fae3401d-f264-4ffb-bc34-ccb046436239)

The GraphQL API seems to be the only way to programmatically alter these fields, and they are [currently in preview](https://docs.github.com/en/graphql/overview/schema-previews#team-review-assignments-preview). The [`excludedTeamMemberIds`](https://docs.github.com/en/graphql/reference/input-objects#updateteamreviewassignmentinput) list is available in the [`updateTeamReviewAssignment`](https://docs.github.com/en/graphql/reference/mutations#updateteamreviewassignment) mutation call, so the functionality should be possible.

### SDK Version

_No response_

### API Version

_No response_

### Relevant log output

_No response_

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

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.