36 Star 149 Fork 1

Gitee 极速下载 / gitlabhq

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/gitlabhq/gitlabhq
克隆/下载
Dangerfile 841 Bytes
一键复制 编辑 原始数据 按行查看 历史
# frozen_string_literal: true
require 'gitlab-dangerfiles'
def ee?
# Support former project name for `dev` and support local Danger run
%w[gitlab gitlab-ee].include?(ENV['CI_PROJECT_NAME']) || Dir.exist?(File.expand_path('ee', __dir__))
end
project_name = ee? ? 'gitlab' : 'gitlab-foss'
Gitlab::Dangerfiles.for_project(self, project_name) do |gitlab_dangerfiles|
gitlab_dangerfiles.import_plugins
gitlab_dangerfiles.config.ci_only_rules = ProjectHelper::CI_ONLY_RULES
gitlab_dangerfiles.config.files_to_category = ProjectHelper::CATEGORIES
gitlab_dangerfiles.config.excluded_required_codeowners_sections_for_roulette.push('Database')
gitlab_dangerfiles.config.included_optional_codeowners_sections_for_roulette.push('Backend Static Code Analysis')
gitlab_dangerfiles.import_dangerfiles(except: %w[simple_roulette])
end
Ruby
1
https://gitee.com/mirrors/gitlab.git
git@gitee.com:mirrors/gitlab.git
mirrors
gitlab
gitlabhq
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891