diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-21 12:10:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-21 12:10:07 +0300 |
commit | 081c20decabe2154802daedc9cd1f7fcee2165ed (patch) | |
tree | 7e26fe4080f1a90de74fe0621218a8eabce7f28a /lib/gitlab/danger | |
parent | 020afca7491c6c9178e8dd1c6d79562430e74ee0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/danger')
-rw-r--r-- | lib/gitlab/danger/teammate.rb | 1 |
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 |