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:
authorJohn Cai <jcai@gitlab.com>2023-07-07 00:31:08 +0300
committerJohn Cai <jcai@gitlab.com>2023-07-07 00:34:32 +0300
commit69e1c2e33b2b1c6c24045f342cc5ba37caba2f12 (patch)
treefc958892bd58a4f339b4c1faf7dd44b6b371b1c8
parentd27fb64eee848afe82b8582e49cd800081d1b1d6 (diff)
Danger: Do not label devops::systems indiscriminantly
Currently we add the devops::systems label irregardless of what group the author is part of. triage-ops already takes care of applying labels based on the MR author so this ends up being noisy and unnecessary. Let's just not set devops::systems since triage-ops already sets the group label.
-rw-r--r--danger/rules/labels/Dangerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/danger/rules/labels/Dangerfile b/danger/rules/labels/Dangerfile
index b52d831fa..9c0363d15 100644
--- a/danger/rules/labels/Dangerfile
+++ b/danger/rules/labels/Dangerfile
@@ -22,7 +22,7 @@ end
GITALY_TEAM = gitlab.api.all_group_members("gl-gitaly").flat_map{ |i| i.username }
-required_labels = %w[devops::systems]
+required_labels = []
required_labels << "group::gitaly" if GITALY_TEAM.include?(gitlab.mr_author)
helper.labels_to_add.concat(required_labels | inherited_labels)