Hi Codefresh community support,
I would like to setup a git trigger which triggers a certain pipeline when files in a certain directory of my project are being modified by a pull request. I am following the docs about git triggers here: https://codefresh.io/docs/docs/configure-ci-cd-pipeline/triggers/git-triggers/#monorepo-support-modified-files and using the Codefresh UI to setup a git trigger that is triggered by “Push commits” while specifying a “Modified Files (glob expression)”, e.g. src/awesome/**. The trigger works when the last commit in the pull request changes some files in src/awesome/, however if I push a new commit with no changes inside src/awesome/, the pipeline doesn’t trigger and CI tests show as passing in github, even though the triggered pipeline would fail if it were to run.
How can I achieve the desired behavior, that is the pipeline will run for every commit if files in the specified directory are different between the pull request target and the head of the branch I’m trying to merge?