From 0da2c423f7b2e46d0fc6f98e5fafd00504159ba3 Mon Sep 17 00:00:00 2001 From: Diogo Teles Sant'Anna Date: Fri, 16 Feb 2024 21:14:24 +0000 Subject: [PATCH] fix linter issues Signed-off-by: Diogo Teles Sant'Anna --- clients/branch.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/clients/branch.go b/clients/branch.go index 824b6cb271cc..bcff9c6e89f7 100644 --- a/clients/branch.go +++ b/clients/branch.go @@ -23,13 +23,13 @@ type BranchRef struct { // BranchProtectionRule captures the settings enabled on a branch for security. type BranchProtectionRule struct { - PullRequestRule PullRequestRule - AllowDeletions *bool - AllowForcePushes *bool - RequireLinearHistory *bool - EnforceAdmins *bool - RequireLastPushApproval *bool - CheckRules StatusChecksRule + PullRequestRule PullRequestRule + AllowDeletions *bool + AllowForcePushes *bool + RequireLinearHistory *bool + EnforceAdmins *bool + RequireLastPushApproval bool + CheckRules StatusChecksRule } // StatusChecksRule captures settings on status checks.