You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So omitting type creates a type = branch. Equally there is no way to create a deployment branch policy and not get back and id, node_id, name and a type.
The text was updated successfully, but these errors were encountered:
Schema Inaccuracy
https://docs.github.com/en/rest/deployments/branch-policies?apiVersion=2022-11-28#create-a-deployment-branch-policy
Incorret request & response.
Expected
type
parameter when absent to default tobranch
.id
,node_id
,name
andtype
as required so that they are not emitted astype | undefined
in JS.Reproduction Steps
Execute
Yields
So omitting
type
creates atype
=branch
. Equally there is no way to create a deployment branch policy and not get back andid
,node_id
,name
and atype
.The text was updated successfully, but these errors were encountered: