diff --git a/github/resource_github_branch_protection.go b/github/resource_github_branch_protection.go index b98dddea1c..5e74306830 100644 --- a/github/resource_github_branch_protection.go +++ b/github/resource_github_branch_protection.go @@ -76,8 +76,8 @@ func resourceGithubBranchProtection() *schema.Resource { }, }, PROTECTION_REQUIRES_STATUS_CHECKS: { - Type: schema.TypeList, - Optional: true, + Type: schema.TypeList, + Optional: true, DiffSuppressFunc: statusChecksDiffSuppression, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ diff --git a/github/util_v4_branch_protection.go b/github/util_v4_branch_protection.go index ad2587098b..ad4f880fea 100644 --- a/github/util_v4_branch_protection.go +++ b/github/util_v4_branch_protection.go @@ -22,7 +22,7 @@ type DismissalActorTypes struct { type PushActorTypes struct { Actor struct { - App Actor `graphql:"... on App"` + App Actor `graphql:"... on App"` Team Actor `graphql:"... on Team"` User Actor `graphql:"... on User"` }