terraform-provider-github
terraform-provider-github copied to clipboard
feat(branch-protection): Push/Reviewer actors can be specified by name
Changes the github_branch_protection resource.
This enables us to use the branch protection resource without using a data block just to retrieve the node ID for users/teams. Node IDs can still be used as an input but you can now use a prefix to define a username or team name
The / prefix defines a user (Ex.: /testuser), the orgname/ prefix defines a team. (Ex.: testorg/team)