ENGINEERING

Route security-labeled GitLab MRs to the right reviewer group

When a merge request gets a security label in GitLab, it assigns the correct specialist reviewer group, posts the MR to that team's Slack channel.

CategoryEngineering
Enginesim
Difficultyintermediate
Triggerwebhook
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerGitLab MR webhook fires on open or label changeGitLabGitLab
  • LogicFilter: keep only MRs with a security domain label
  • LogicMap label to the owning reviewer group
  • ActionAssign reviewer group + comment on the MRGitLabGitLab
  • OutputPost the MR to the team's Slack channelSlack

What it does

Watches GitLab for merge requests that carry a security-related label (`security`, `appsec`, `crypto`, `auth`) and routes each one to the reviewer group that owns that domain. It assigns the group as MR reviewers, drops a comment on the MR naming the owning team, and pings that team's Slack channel so the review never sits unclaimed.

When to use it

Use it when security-sensitive merge requests slip through normal round-robin review and land with engineers who lack the context to vet them. Ideal for teams that maintain separate AppSec, cryptography, and identity review groups and need labels to drive ownership.

How it works

  1. 1A GitLab merge request webhook fires on open or label change.
  2. 2A filter checks whether any label maps to a known security domain; non-security MRs exit early.
  3. 3A routing branch maps the matched label to the correct reviewer group ID.
  4. 4The flow assigns that group as MR reviewers via the GitLab API and posts an MR comment naming the owning team.
  5. 5A Slack message lands in the team's channel with the MR title, author, and direct link.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitLabRepos, MRs, pipelines, registry.
  2. 2
    Connect SlackChannels, DMs, threads, mentions.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.