conventionalcomments.iogithub ↗LanguageEN/FRBring it to your team

platforms / GitLab

GitLab

assistance only

The platform

GitLab is a development platform, and gitlab.com is its hosted edition. Reviews happen in merge requests. The extension assists there — toolbar, live validation, badges, thread filter and banner — but it never blocks a comment, whatever mode the repository asks for.

Hosts and editions

Covered

  • gitlab.com

Not covered

  • GitLab Self-Managed self-hosted
  • GitLab Dedicated

The extension has only been built and measured against gitlab.com.

Features

FeatureStatus
Toolbar and keyboard quick inputavailable
Live validation while you typeavailable
Badges on published commentsavailable
Thread filter by labelavailableOverview only, not in Changes.
Banner counting unresolved blocking threadsavailable
Blocking a non-compliant comment in enforcenot availableThe extension cannot read a repository's configuration on GitLab yet.

Where the extension acts

The extension works on merge requests, in GitLab's plain-text (Markdown) editor. GitLab offers a second, rich text editor under every comment box and remembers your choice for your account: in that one, the extension adds nothing. The thread filter appears on the merge request's Overview only, not in Changes.

Setting it up

gitlab.com has its own card on the extension's options page: one click asks your browser for that domain. The installation page walks through it.

Making merges wait

The extension never blocks a merge. To make a merge request wait until its threads are resolved, turn on All threads must be resolved in the project's merge request settings, under merge checks. That check waits for every thread, not only the blocking ones. See Enforce for how the two fit together.

Limitations

  • It never blocks a comment. The extension cannot read a repository's configuration on GitLab yet, and it does not refuse a comment in the name of rules it could not read. enforce therefore behaves like assist, and the status pill always says the configuration is unread.
  • It does not act in the rich text editor. Switch to the plain-text editor to get the toolbar and the validation. See Troubleshooting.