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
path: root/danger
diff options
context:
space:
mode:
Diffstat (limited to 'danger')
-rw-r--r--danger/plugins/project_helper.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/danger/plugins/project_helper.rb b/danger/plugins/project_helper.rb
deleted file mode 100644
index bb7036586..000000000
--- a/danger/plugins/project_helper.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-module Danger
- # Common helper functions for danger scripts
- class ProjectHelper < ::Danger::Plugin
- # First-match win, so be sure to put more specific regex at the top...
- CATEGORIES = {
- %r{\Adoc/.*(\.(md|png|gif|jpg))\z} => :docs,
- %r{\A(CONTRIBUTING|LICENSE|README|REVIEWING|STYLE)(\.md)?\z} => :docs,
-
- %r{.*} => [nil]
- }.freeze
-
- def changes_by_category
- helper.changes_by_category(CATEGORIES)
- end
-
- def project_name
- 'gitaly'
- end
- end
-end