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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Okstad <pokstad@gitlab.com>2020-09-18 19:14:42 +0300
committerPaul Okstad <pokstad@gitlab.com>2020-09-18 19:14:42 +0300
commit8d14377ab5b3914033f85ec3572e0ba65749a6e0 (patch)
treee6e5b9900617f13b9d38a32872d41af7dc014fdb
parentb66774f8cfbdde61d45589d7ac4cc030a086cfc6 (diff)
parent4304746e0c22ca38c1ae26314149812367de363f (diff)
Merge branch 'zj-no-reviewer' into 'master'
danger: Remove ZJ from suggested reviewers See merge request gitlab-org/gitaly!2572
-rw-r--r--Dangerfile2
-rw-r--r--danger/assignees/Dangerfile2
2 files changed, 3 insertions, 1 deletions
diff --git a/Dangerfile b/Dangerfile
index 95b31089e..cad61f0df 100644
--- a/Dangerfile
+++ b/Dangerfile
@@ -9,6 +9,8 @@ GITALY_TEAM = %w[
zj-gitlab
]
+REVIEWERS = GITALY_TEAM - %w[zj-gitlab]
+
danger.import_dangerfile(path: 'danger/assignees')
danger.import_dangerfile(path: 'danger/changelog')
danger.import_dangerfile(path: 'danger/labels')
diff --git a/danger/assignees/Dangerfile b/danger/assignees/Dangerfile
index c1f79d01d..1a4617bf7 100644
--- a/danger/assignees/Dangerfile
+++ b/danger/assignees/Dangerfile
@@ -1,7 +1,7 @@
if gitlab.mr_json["assignees"].none?
warn "This merge request does not have any assignee yet. Setting an assignee clarifies who needs to take action on the merge request at any given time."
- suggestions = (GITALY_TEAM - [gitlab.mr_author]).sample(2)
+ suggestions = (REVIEWERS - [gitlab.mr_author]).sample(2)
case suggestions.size
when 0