#Create merge request

This plugin allows you to open a merge request.

version: '1'
packageManagers:
  - packageManager:
      name: npm
    actions:
      - name: create-merge-request
        on:
          - success
        config:
          token: '${env.MY_TOKEN}'

#token

Required

Allows the plugin to authenticate with your Git provider API:

#title

Default: Automated update of {{slug}} dependencies {{statusEmoji}}

Allows you to customize issue title.

This handlebars template is passed the following context:

{
    "slug": "myPm",
    "status": "myStatus",
    "statusEmoji": "🚀"
}
Property Description
slug Key that identifies the update in your configuration. For example, "npm", or, "npm-0" when there are multiple packageManagerUpdates configured with npm as the packageManager.name.
status Status of the package manager update
statusEmoji Emoji corresponding to the package manager update status

#additionalText

Default: none

Additional text to embed in the issue description.

#assignees

Default: none

Usernames to assign to the issue created. Note that Gitlab CE only allows one assignee.

#closeOpen

Default: true

Close open issues that were created by Pmbot. This option prevents multiple issues open simultaneously when you don't have the time to look at them.

#squash

Default: true

Only applies to Gitlab

Whether commits of the merge request source branch should be squashed.

#deleteSourceBranch

Default: true

Only applies to Gitlab

Whether the merge request source branch should be deleted.

#maintainerCanModify

Default: true

Only applies to Gitlab

Whether maintainers can modify the created pull request.