Skip to main content

GitLab Configuration

Create an Access Token for GitLab

Required Token Permissions

Create an access token:

To create a personal access token:

  1. Log in to GitLab.

  2. Click your profile image and select Settings.

  3. Select Access Tokens from the User Settings menu .

  4. Enter a name and optional expiration date for the token.

  5. Select the api and write_repository scopes

  6. Click the Create personal access token button.

  7. Save the personal access token. You will not be able to view this token again.

126655051.png

Protecting the Target Branch in GitLab

You can prevent merge requests from being merged if their pipeline did not succeed. A failing IQ policy evaluation will cause the pipeline to fail and block the merge request. You can enable this feature (now called auto-merge) via the project settings as shown below.

See GitLab docs for more information.

126655071.png