Skip to main content

GitLab merge request management

Learn how to get started with merge request management solution for GitLab


Install GitLab merge request management from app directory and start using it by connecting your GitLab and Slack accounts.

Note

If you are invited to this app as a user, proceed to Get started as an app user section to learn how to connect your GitLab account.

Features

Review GitLab merge requests in temporary Slack channels, collaborate and communicate better with your team.

Use cases

Get started as an app admin

Step 1. Install GitLab merge request management

Visit this link in app directory and click Install button at top right corner.

Install GitLab merge request management

Step 2. Connect to GitLab and Slack

After installing the app, you'll be prompted to connect your Slack workspace and GitLab account.

Connect to GitLab and Slack

Complete GitLab admin connection

  1. Click Connect near GitLab admin connection and proceed to authentication in GitLab via OAuth2.
  2. You will be asked to sign in to your GitLab account if you haven't already.
  3. Click Authorize Actioner. You’ll be redirected to Actioner upon successful authorization.

Complete Slack connection

  1. Click Connect near Slack connection.
  2. Continue with selecting your Slack workspace.
Tip

If your workspace is not available, add it by navigating to your workspace from the left menu and then go to Slack connections page and click + Add Slack workspace.

Step 3. Complete setup actions

Setup GitLab pull request management

  1. Run Subscribe to GitLab MR events action first. This action creates a webhook in GitLab for the repositories you selected and subscribes to merge request events.

  2. Run Set MR update channel action. This action creates a new channel in Slack with the prefix you select. Actioner notifies your team by sending a message to this channel when a commit is pushed to the main branch. Also, anyone who joins this channel receives an onboarding message from Actioner.

Step 4. Finish setup guide

When all steps in setup guide are completed, app is ready to be run in Slack.

Get started as an app user

If you are invited to this app as a user, you need to complete GitLab connection. This connection is required for you to take actions on GitLab notifications in Slack.

  1. Navigate to GitLab connection, click Connect and proceed to authentication in GitLab via OAuth2.
  2. You will be asked to sign in to your GitLab account if you haven't already.
  3. Click Connect app. You’ll be redirected to Actioner upon successful authorization.

How to customize this app

Merge request or merge request reviews with a different tool

If you are using GitHub or Bitbucket, you can install Actioner apps that work in Slack with your version control tool.

Update emoji to send Slack messages as comments to GitLab MR requests

To use another emoji to add comments to the MR GitLab,

  1. Navigate to Workflows tab of your app and find the workflow named Add comment to merge request with pin emoji.
  2. Update the Emoji field with the emoji you want to use.

Add a new repo to this app

If your team is working on multiple repos, you can add all of them by running the action named Subscribe to GitLab MR events

  1. Go to Slack and call Actioner from shortcuts, or simply type /actioner.
  2. Select the repo that you want to add.
Note

Do not add the repositories that this app previously subscribed to their events.