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:
authorToon Claes <toon@gitlab.com>2022-05-04 18:10:24 +0300
committerToon Claes <toon@gitlab.com>2022-05-04 18:27:04 +0300
commit98432633cf3a5c78e89e2f104b886ef8b10a9ff6 (patch)
treef281d255f77743cdb9c8a58df4c2c40d973b6089 /Dangerfile
parent86aa7ee82a5dd241fd7d4b33435da0a7ecad12b0 (diff)
Danger: Exclude generated protobuf files in sizetoon-danger-exclude-gen-proto
This change adds a lightly adjusted version of the changes_size rule. This version excludes the generated protobuf files *.pb.go and *_pb.rb.
Diffstat (limited to 'Dangerfile')
-rw-r--r--Dangerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dangerfile b/Dangerfile
index 616556b1a..39c6730e2 100644
--- a/Dangerfile
+++ b/Dangerfile
@@ -14,5 +14,6 @@ Gitlab::Dangerfiles.for_project(self) do |gitlab_dangerfiles|
danger.import_dangerfile(path: "danger/rules/#{rule}")
end
- gitlab_dangerfiles.import_defaults
+ gitlab_dangerfiles.import_plugins
+ gitlab_dangerfiles.import_dangerfiles(except: %w[changes_size])
end