terraform-provider-github icon indicating copy to clipboard operation
terraform-provider-github copied to clipboard

feat(branch-protection): Push/Reviewer actors can be specified by name

Open dion-gionet opened this issue 3 years ago • 0 comments

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)

dion-gionet avatar Dec 23 '21 21:12 dion-gionet