diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-27 12:10:56 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-27 12:10:56 +0000 |
commit | 0afd7f18171f70cb8f4296ff9a32381c6919027f (patch) | |
tree | bb06aa12dc2060b987ec581a997b7464dff220a7 /tooling | |
parent | f0aaec1f670ca31d6d438556c3b7327699cbe8ef (diff) | |
download | gitlab-ce-0afd7f18171f70cb8f4296ff9a32381c6919027f.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'tooling')
-rw-r--r-- | tooling/danger/changelog.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tooling/danger/changelog.rb b/tooling/danger/changelog.rb index 5216e98d4f5..98035b5a41b 100644 --- a/tooling/danger/changelog.rb +++ b/tooling/danger/changelog.rb @@ -23,7 +23,7 @@ module Tooling ci: <<~MSG If you want to create a changelog entry for GitLab FOSS, add the `Changelog` trailer to the commit message you want to add to the changelog. - If you want to create a changelog entry for GitLab EE, also add the trailer `EE: true` to your commit message. + If you want to create a changelog entry for GitLab EE, also [add the `EE: true` trailer](https://docs.gitlab.com/ee/development/changelog.html#gitlab-enterprise-changes) to your commit message. If this merge request [doesn't need a CHANGELOG entry](https://docs.gitlab.com/ee/development/changelog.html#what-warrants-a-changelog-entry), feel free to ignore this message. MSG @@ -138,15 +138,15 @@ module Tooling ee_changes = project_helper.all_ee_changes.dup if ee_changes.any? && !ee_changelog? && !required? - check_result.warning("This MR changes code in `ee/`, but is missing a Changelog commit. Consider adding the Changelog trailer to at least one commit.") + check_result.warning("This MR changes code in `ee/`, but its Changelog commit is missing the [`EE: true` trailer](https://docs.gitlab.com/ee/development/changelog.html#gitlab-enterprise-changes). Consider adding it to your Changelog commits.") end if ee_changes.empty? && ee_changelog? - check_result.warning("This MR has a Changelog commit for EE, but no code changes in `ee/`. Consider removing the use of the `EE: true` trailer from your commits.") + check_result.warning("This MR has a Changelog commit for EE, but no code changes in `ee/`. Consider removing the `EE: true` trailer from your commits.") end if ee_changes.any? && ee_changelog? && required_reasons.include?(:db_changes) - check_result.warning("This MR has a Changelog commit with the `EE: true` trailer, but there are database changes which [requires](https://docs.gitlab.com/ee/development/changelog.html#what-warrants-a-changelog-entry) the Changelog commit to not have the `EE: true` trailer. Consider removing the `EE: true` trailer.") + check_result.warning("This MR has a Changelog commit with the `EE: true` trailer, but there are database changes which [requires](https://docs.gitlab.com/ee/development/changelog.html#what-warrants-a-changelog-entry) the Changelog commit to not have the `EE: true` trailer. Consider removing the `EE: true` trailer from your commits.") end check_result |