I want to create a GitRepo resource in my pipelines but want to use combination of include and exclude files. But I am unclear on precedence!
If the pattern I give matches with both include and exclude - how does it work?
- name: platform_pr
type: GitRepo
configuration:
gitProvider: myGithub
path: dev/helm-values
files:
include: m*
exclude: ma*
branches:
include: ^master$
buildOn:
commit: true