Skip to content
Snippets Groups Projects
Commit d54a688b authored by Christos Tsolakis's avatar Christos Tsolakis
Browse files

ci: Fix code_change rule.


The rule to detect code changes introduced in vtk/vtk!10427 was faulty and
didn't detect changes in subdirectories.  The new rules include all files under
the appropriate directories recursively.

Co-Authored-By: default avatarJean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
parent 1339e868
No related branches found
No related tags found
No related merge requests found
# Rules for where jobs can run
.run_on_code_change:
# The following rules are intended to include all files and directories
# expect the `Documentation` directory.
rules:
changes: &code_change
- '[a-zA-CE-Z]*' # any path starting with anything but 'D'
- 'Domains/*' # any path under Domains directory is touched
- '.*' # any hidden file is touched
- '[a-zA-CE-Z]*/**/*' # any path starting with anything but 'D'
- 'Domains/*/**/*' # any path under Domains directory is touched
- '.*' # any hidden file is touched
when: on_success
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment