gitlabgitlab-ce

Scoped labels in Gitlab as badges


When looking at the labels used by the Gitlab team itself here, the scoped labels are rendered similar to badges from shields.io.

Scoped Gitlab labels

Does anyone know how to get this appearance? Scoped labels can be created by using a double colon "::" but they are rendered as normal text.


Solution

  • If you search the GitLab documentation for Scoped Labels, you will find that scoped labels were introduced in GitLab Premium 11.10. It is currently only available in GitLab Premium, GitLab.com Silver and higher tiers.

    My guess is you're not running one of these versions, otherwise the scoped labels would render and behave as expected by default. See How to check the version of GitLab?.