Gitlab multiple folders rule

Viewed 108

Are there ways to merge row changes of multiple folders into a single row?

For instance,

 changes:
      - api/**/*
      - config/**/*
      - controllers/**/*
      - hack/**/*
      ... and etc 7 lines...

Combine to the 1 line? In short, I want to list all folders in the root directory by one line to avoid bulky part in changes.

1 Answers

In order to reduce the lines, you can change the following syntax From this

 changes:
      - api/**/*
      - config/**/*
      - controllers/**/*
      - hack/**/*

To

 changes:
      [api/**/*, config/**/*, controllers/**/*, hack/**/*]
Related