diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-10 18:11:01 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-10 18:11:01 +0300 |
commit | ae1b3d982482280f22a907faba2c9ba02f4d1db1 (patch) | |
tree | 5c3312879a2c554e1e73a175878ea7eb7a87ac10 /tooling | |
parent | e1bfa7aef2346a8c2d4e0ae0c69bf7649896f556 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'tooling')
-rw-r--r-- | tooling/danger/stable_branch.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tooling/danger/stable_branch.rb b/tooling/danger/stable_branch.rb index 6c0b94b4f06..034e31bb0cc 100644 --- a/tooling/danger/stable_branch.rb +++ b/tooling/danger/stable_branch.rb @@ -33,7 +33,7 @@ module Tooling MSG VERSION_ERROR_MESSAGE = <<~MSG - Patches are only being accepted on the most recent 3 minor versions of GitLab. #{MAINTENANCE_POLICY_MESSAGE} + Patches are generally only accepted on the most recent 3 minor versions of GitLab. #{MAINTENANCE_POLICY_MESSAGE} MSG FAILED_VERSION_REQUEST_MESSAGE = <<~MSG @@ -46,7 +46,8 @@ module Tooling fail FEATURE_ERROR_MESSAGE if has_feature_label? fail BUG_ERROR_MESSAGE unless has_bug_label? - fail VERSION_ERROR_MESSAGE unless targeting_patchable_version? + + warn VERSION_ERROR_MESSAGE unless targeting_patchable_version? end # rubocop:enable Style/SignalException @@ -69,7 +70,6 @@ module Tooling last_three_minor_versions.include?(targeted_version) rescue VersionApiError - # don't fail the job since we do not know the recent versions warn FAILED_VERSION_REQUEST_MESSAGE true end |