Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-21 12:10:07 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-21 12:10:07 +0300
commit081c20decabe2154802daedc9cd1f7fcee2165ed (patch)
tree7e26fe4080f1a90de74fe0621218a8eabce7f28a /lib/gitlab/danger
parent020afca7491c6c9178e8dd1c6d79562430e74ee0 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/danger')
-rw-r--r--lib/gitlab/danger/teammate.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/danger/teammate.rb b/lib/gitlab/danger/teammate.rb
index 4481977db15..287b12b7fd5 100644
--- a/lib/gitlab/danger/teammate.rb
+++ b/lib/gitlab/danger/teammate.rb
@@ -94,6 +94,7 @@ module Gitlab
when :engineering_productivity
return false unless role[/Engineering Productivity/]
return true if kind == :reviewer
+ return true if capabilities(project).include?("#{kind} engineering_productivity")
capabilities(project).include?("#{kind} backend")
else