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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/danger
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-12 21:08:46 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-12 21:08:46 +0300
commit0ba11d8461a2b091d37bb6308d85e74f2b133803 (patch)
tree272034571557b979fdebb767cf4e12bdd3810d27 /danger
parent5ab111376fadee3c9cef3c84080743e917751bfa (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger')
-rw-r--r--danger/ci_config/Dangerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/danger/ci_config/Dangerfile b/danger/ci_config/Dangerfile
index 5022ccc1539..f29888d1ec8 100644
--- a/danger/ci_config/Dangerfile
+++ b/danger/ci_config/Dangerfile
@@ -9,6 +9,7 @@ def get_ci_config_files(files)
end
schema_path = 'app/assets/javascripts/editor/schema/ci.json'
+schema_docs_path = 'https://docs.gitlab.com/ee/development/cicd/schema.html#write-specs'
has_schema_update = all_changed_files.include?(schema_path)
return if has_schema_update
@@ -17,4 +18,4 @@ return if ci_config_files.empty?
file_list = "- #{ci_config_files.map { |path| "`#{path}`" }.join("\n- ")}"
-warn "This merge request changed CI config files but did not update the schema. Please consider updating [the schema](#{schema_path}) to reflect these changes:\n#{file_list}"
+warn "This merge request changed CI config files but did not update the schema. Please consider updating [the schema](#{schema_path}) to reflect these changes:\n#{file_list}.\n\nRefer to the [docs](#{schema_docs_path}) for help on how to run and write specs for the CI schema."