I wanted to trigger the pipeline when any file is changed in the directory or subdirectories of folder /ProjectA/ except /ProjectA/sub-dir-a.
I added the below event to achieve the results, however, it throws an error saying Path and Path-ignore cannot be added in the same event.
on:
push:
branches: [ master ]
paths: "ProjectA/**"
paths-ignore: " ProjectA/sub-dir-a /**"
Further, If I change an event to include "paths" only, it triggers the pipeline even when any files are changed in the subfolder too.
I was looking for an option to exclude sub directory.
