diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-28 21:14:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-28 21:14:03 +0300 |
commit | e804afddbf68cc6f306bc4aa9aaea88be774ebe4 (patch) | |
tree | 0ecb2ebf35e16b866b16da375920eb58f6353ef7 /danger/database | |
parent | 8188ca655a7437381491e565406869c747c1b40a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger/database')
-rw-r--r-- | danger/database/Dangerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/danger/database/Dangerfile b/danger/database/Dangerfile index b4e06c21fe4..0128f0fa195 100644 --- a/danger/database/Dangerfile +++ b/danger/database/Dangerfile @@ -65,7 +65,7 @@ if gitlab.mr_labels.include?('database') || db_paths_to_review.any? markdown(DB_REMOVE_MESSAGE) end - unless helper.has_database_scoped_labels? - project_helper.labels_to_add << 'database::review pending' + unless helper.has_scoped_label_with_scope?("database") + helper.labels_to_add << 'database::review pending' end end |