diff --git a/cla-backend-go/utils/gitlab.go b/cla-backend-go/utils/gitlab.go
index 8e2c58431..4dede91df 100644
--- a/cla-backend-go/utils/gitlab.go
+++ b/cla-backend-go/utils/gitlab.go
@@ -1,3 +1,6 @@
+// Copyright The Linux Foundation and each contributor to CommunityBridge.
+// SPDX-License-Identifier: MIT
+
package utils
import (
@@ -39,17 +42,19 @@ func PrepareMrCommentContent(missingUsers []*GatedGitlabUser, signedUsers []*git
var body string
+ const startUl = "
"
+ const endUl = ""
result := ""
failed := ":x:"
success := ":white_check_mark:"
if len(signedUsers) > 0 {
- result += ""
+ result += startUl
for _, signed := range signedUsers {
authorInfo := GetAuthorInfo(signed)
result += fmt.Sprintf("- %s %s
", success, authorInfo)
}
- result += "
"
+ result += endUl
body = coveredBadge
}
@@ -58,7 +63,7 @@ func PrepareMrCommentContent(missingUsers []*GatedGitlabUser, signedUsers []*git
// faq := "https://docs.linuxfoundation.org/lfx/easycla/v2-current/getting-started/easycla-troubleshooting#github-unable-to-contribute-to-easycla-enforced-repositories"
if len(missingUsers) > 0 {
- result += ""
+ result += startUl
for _, missingUser := range missingUsers {
authorInfo := GetAuthorInfo(missingUser.User)
if errors.Is(missingUser.Err, missingCompanyAffiliation) {
@@ -79,7 +84,7 @@ func PrepareMrCommentContent(missingUsers []*GatedGitlabUser, signedUsers []*git
body = failedBadge
}
}
- result += "
"
+ result += endUl
}
if result != "" {
diff --git a/cla-backend-go/v2/gitlab-activity/models/models.go b/cla-backend-go/v2/gitlab-activity/models/models.go
index eae16121e..bb5e49562 100644
--- a/cla-backend-go/v2/gitlab-activity/models/models.go
+++ b/cla-backend-go/v2/gitlab-activity/models/models.go
@@ -1,3 +1,6 @@
+// Copyright The Linux Foundation and each contributor to CommunityBridge.
+// SPDX-License-Identifier: MIT
+
package models
// ProcessMergeActivityInput is used to pass the data needed to trigger a gitlab mr check