billions-mechanic-26704
09/23/2021, 2:42 PMBranchProtection
github resource https://www.pulumi.com/docs/reference/pkg/github/branchprotection/#branchprotection
And
BranchProtectionV3
github resource ?
https://www.pulumi.com/docs/reference/pkg/github/branchprotectionv3/#branchprotectionv3
I see there are some different resource properties inputs like in v3 there is branch
and in normal version i choose the branch using pattern
parameter
Which one should I choose?millions-furniture-75402
09/23/2021, 2:45 PMTheresource has moved to the GraphQL API, while this resource will continue to leverage the REST API.github.BranchProtection
billions-mechanic-26704
09/23/2021, 2:59 PMgithub.BranchProtection
to enforce some branch rules and it works, but is not clear for me if I should do it pointing to the rest api instead of graphql …millions-furniture-75402
09/23/2021, 3:10 PMgithub.BranchProtection
uses the GraphQL GitHub API