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.
If you are invited to this app as a user, proceed to Get started as a 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
- GitLab MR notifications in Slack: Automatically create ephemeral Slack channels dedicated to open merge requests.
- Broadcast GitLab commits to default: Keep track of commits to the main branch without leaving Slack.
Get started as an app admin
Step 1. Install GitLab merge request management
Visit GitLab merge request management in app directory and click Install button at top right corner.
Step 2. Connect to GitLab and Slack
After installing the app, you'll be prompted to connect your Slack workspace and GitLab account.
Complete GitLab connection
- Click Connect near GitLab connection and proceed to authentication in GitLab via OAuth2.
- You will be asked to sign in to your GitLab account if you haven't already.
- Click Authorize Actioner. You’ll be redirected to Actioner upon successful authorization.
Complete Slack connection
- Click Connect near Slack connection.
- Continue with selecting your Slack workspace.
If your workspace is not available, add it by navigating to Slack connections page from left menu and click + Add new Slack workspace.
If you do not see Slack connections page, contact with your workspace admin.
Step 3. Complete setup
Run Subscribe to GitLab events. This workflow creates a webhook on GitLab to subscribe to the merge request events from a selected project.
If you want to subscribe events from multiple projects, you can re-run this workflow.
Run Set merge request update channel. This workflow creates a merge request channel on Slack with a given prefix. (#-gitlab-updates) Anyone who joins this channel will receive an onboarding message from Actioner to explain how to connect GitLab.
Also, when a commit is pushed to the main branch, a message will be sent to this channel to notify your team.
Get started as a 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.
- Navigate to GitLab connection, click Connect and proceed to authentication in GitLab via OAuth2.
- You will be asked to sign in to your GitLab account if you haven't already.
- 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.
- Install GitHub pull request management
- Install Bitbucket pull request management
Update emoji to send Slack messages as comments to GitLab MR requests
To use another emoji to add comments to the GitLab merge request,
- Go to Workflows tab of your app and find the workflow named Add comment to merge request with pin emoji.
- Navigate to the trigger event and update the emoji on Trigger conditions.
Add a new repo to this app
If your team is working on multiple repos, you can add all of them by running Subscribe to GitLab events.
- In Slack, call Actioner from shortcuts, or simply type
/actioner
and navigate to Subscribe to GitLab events workflow. - Select the repo that you want to add.
You do not need add the repositories that this app previously subscribed to their events.