License management still fails to detect Golang projects using go mod
Summary
In https://gitlab.com/gitlab-org/gitlab-ee/issues/8708 -> https://gitlab.com/gitlab-org/security-products/license-management/merge_requests/31 , license management adds support for Golang projects that use go mod
. However, despite this, I'm unable to get license management working with go mod
in GitLab Pages
Steps to reproduce
- Upload a go mod project to gitlab
- Enable license management
- No licenses detected
Example Project
Consider this MR, which migrates gitlab-pages to go mod
: gitlab-pages!150 (closed) - and the associated pipeline: https://gitlab.com/nick.thomas/gitlab-pages/pipelines/64429763
What is the current bug behavior?
Pages already had license management configured, which worked with the vendor/
directory. With this change, the source branch is said to have 0 licenses,and it's not detected as a go project by run.sh
What is the expected correct behavior?
Licenses should continue to be detected
Output of checks
This bug happens on GitLab.com
Possible fixes
Unsure. Marking as a bug since it's clear we expect this to work.