New feature bug: only:changes didnt follow subfolders

New feature bug: only:changes didnt follow subfolders

in case when I use changes feature to detect case when I should run job

bms-admin:build:
  extends: .build_snapshot_template:bms-admin
  variables:
    APPLICATION: bms-admin
  only:
    refs:
      - test
    changes:
      - bms-admin/*

Job bms-admin:build starts running only if first level files are changes

As a WA to follow changes in subfolders Im using next code

 only:
    refs:
      - test
    changes:
      - bms-admin/*
      - bms-admin/*/*
      - bms-admin/*/*/*
      - bms-admin/*/*/*/*
      - bms-admin/*/*/*/*/*
      - bms-admin/*/*/*/*/*/*
      - bms-admin/*/*/*/*/*/*/*
      - bms-admin/*/*/*/*/*/*/*/*
      - bms-admin/*/*/*/*/*/*/*/*/*
      - bms-admin/*/*/*/*/*/*/*/*/*/*
      - bms-admin/*/*/*/*/*/*/*/*/*/*/*
      - bms-admin/*/*/*/*/*/*/*/*/*/*/*/*

I think to follow correct way to process this case should be added new param to enable recursive mode for changes

Thank you

Edited by Sergiy Martyniuk