microscopic-ram-8676511/17/2021, 9:58 PM
provider. I may be missing something obvious here, but there doesn't seem to be a way to set a
to only allow a branch like you can via the UI (screenshot attached). There's an option to create a policy, but the policy is only a
to turn it on or off with no way to specify the actual branch policy. https://www.pulumi.com/registry/packages/github/api-docs/repositoryenvironment/#custombranchpolicies_nodejs
customBranchPolicies This property is required.
Whether only branches that match the specified name patterns can deploy to this environment.
little-cartoon-1056911/17/2021, 10:06 PM