Skip to content

Link documentation to danger warning when updating CI schema

Mireya Andres requested to merge add-schema-docs-link-to-dangerfile into master

What does this MR do and why?

As titled. 😄

Dangerbot will warn the user if they update the CI rules but doesn't update the related JSON schema. This just adds the link to the documentation on how to update the specs for the schema.

Screenshots or screen recordings

Screen_Shot_2022-07-08_at_16.34.17

How to set up and validate locally

  1. Create a commit that includes changed files in lib/gitlab/ci/config/entry/ or ee/lib/gitlab/ci/config/entry/.
  2. Run dangerbot on the command line via bin/rails danger_local.
  3. The warning message should include the link to the documentation on how to update the specs.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports