Build status always unknown on Master Branch
There was a similar issue to this posted a while ago, however the issue seemed to be closed and supposedly fixed, but I think the issue still exists and I may know why. This may not be a bug, but might just be a suggestion for a future version of Gitlab.
The status badge for master always shows unknown for one of my projects (Note: The staging branch badge functions properly). The difference between the two is that for the Staging branch, CI/CD activates on every commit, however, on the Master branch, CI/CD only activates on tags. I believe this is where the issue lies, is there a way to make the build status badge monitor the status of the latest tag.
I think the issue is that the badge does not recognize the latest tag on master, just the latest commit that goes through CI/CD on master, and since commits on master aren't made to go through any CI/CD processes, only tags are, the badge returns unknown.
I was wondering if this is intentional, if there is a fix on my end, or is this a bug?
If this was intentional, or there is a fix on my end, is there a way to setup the badge to just display the status of the latest tag to pass through CI/CD processes? Otherwise, if this is a bug, would the fix be to create way to display the badge for the latest tag instead of commits on a branch or a specific tag, or just make the badge smart enough to know to display the status of the latest CI/CD process to occur on the master branch, regardless of whether the process was triggered by a tag or not.