We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2496665 commit 919f287Copy full SHA for 919f287
check-commit/check.go
@@ -302,7 +302,7 @@ func getGithubCommitSubjects() ([]string, error) {
302
}
303
304
305
-func gitGitlabCommitSubjects() ([]string, error) {
+func getGitlabCommitSubjects() ([]string, error) {
306
gitlab_url := os.Getenv("CI_API_V4_URL")
307
token := os.Getenv("API_TOKEN")
308
mri := os.Getenv("CI_MERGE_REQUEST_IID")
@@ -342,7 +342,7 @@ func getCommitSubjects(repoEnv string) ([]string, error) {
342
if repoEnv == GITHUB {
343
return getGithubCommitSubjects()
344
} else if repoEnv == GITLAB {
345
- return gitGitlabCommitSubjects()
+ return getGitlabCommitSubjects()
346
347
return nil, fmt.Errorf("unrecognized git environment %s", repoEnv)
348
0 commit comments