changesets-gitlab icon indicating copy to clipboard operation
changesets-gitlab copied to clipboard

Add Environment Variable `GITLAB_COMMENT_CUSTOM_LINKS` for Custom Merge Request Links

Open fbritoferreira opened this issue 1 year ago • 2 comments

This merge request introduces a new environment variable GITLAB_COMMENT_CUSTOM_LINKS. This variable allows users to specify custom links to be included in the merge request message, replacing the predefined links. This enhancement provides greater flexibility and customization for users who need to include specific links in their merge request comments.

  • Added GITLAB_COMMENT_CUSTOM_LINKS environment variable.
  • Updated documentation to include details on using GITLAB_COMMENT_CUSTOM_LINKS.

Usage:

To use this new feature, set the GITLAB_COMMENT_CUSTOM_LINKS environment variable with your desired links in the appropriate format. For example:

export GITLAB_COMMENT_CUSTOM_LINKS=`
http://example.com/link1,
http://example.com/link2`

This will replace the predefined links in the merge request message with the specified custom links.

fbritoferreira avatar Jul 04 '24 11:07 fbritoferreira