I have set a pipeline that watchs a codeCommit repository with a given branch and it works perfectly.
I want to restrict my pipeline to watch only a folder on my repo. Imagine my repo contains two folders : fold1 and fold2. As per now, any commit on fold1 or fold2 triggers the pipeline. I want to restrict it to only changes on fold1.
I haven't found anyway in AWS documentation to do this. Obviously, I can split into two repositories which an option that I prefer to avoid since all code goes togather.