#4457·go-github

Including an enterprise team as a reviewer for an environment results an unmarshal error

Author: JWilkinsonMBCreated Aug 17, 2026Updated Aug 19, 2026

If an enterprise Team is created, and that Team is added as a deployment reviewer to a GitHub environment, this module will result in an unmarshal error because the type used by an Enterprise Team is not recognized.

Potential fix in #4456