Skip to content

Skip new pipeline on approval for docs MRs

Hi! 👋

As per #159 (closed), this MR performs an API call to /changes and if the changeset only includes docs changes, it won't run new_pipeline_on_approval.

I looked at using labels based on the path definitions in project_helper.rb, but this approach seemed safer for now.

/cc @alberts-gitlab

Action items

  • When adding a new Triager, verify that it has been added to the DEFAULT_TRIAGERS in triage/triage/handler.rb in the appropriate order.
  • If applicable, identify the affected groups and how to communicate to them:
    • /cc @person_or_group =>
    • Relevant Slack channels =>
    • Week-in-review

Closes #159 (closed)

Merge request reports