[ci] add rules when to trigger pipelines

2 jobs for !138 with feature/test-ci in 16 minutes and 19 seconds (queued for 7 minutes and 11 seconds)
latest detached
Status Name Job ID Coverage
  Build
passed build tests #5506
manual

00:08:12

 
  Test
passed run tests #5507

00:08:06