Skip to content

Use changesIncludeOnly with exceptions #1304

Answered by fkorotkov
ericoporto asked this question in Q&A
Discussion options

You must be logged in to vote

You can combine changesIncludeOnly like that:

task:
  skip: "changesIncludeOnly('**.txt') && !changesInclude('CMakeLists.txt') &&  !changesInclude('**/CMakeLists.txt')"

I think something that would work for changes where only *.txt files were involved but not any CMakeLists.txt.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ericoporto
Comment options

Answer selected by ericoporto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants