Skip to content

Conversation

@fbritoferreira
Copy link
Contributor

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.

@changeset-bot
Copy link

changeset-bot bot commented Jul 4, 2024

⚠️ No Changeset found

Latest commit: e7cbdff

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 4, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@JounQin
Copy link
Member

JounQin commented Feb 17, 2025

@fbritoferreira I don't quite understand the use case. I'd like to keep things as simple as possible.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 1, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants