set CI to also check a MR if it only modifies shell scripts

This commit is contained in:
Marcel Märtens 2021-07-18 18:53:52 +02:00
parent 2b6519baa2
commit 67cc5f07a2

View File

@ -4,7 +4,7 @@
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
# No '-' here is *very* important: https://docs.gitlab.com/ee/ci/yaml/#complex-rule-clauses
changes:
- "**/*.{glsl,png,rs,ron,toml,vox,yml,wav}"
- "**/*.{glsl,png,rs,ron,toml,vox,yml,wav,sh}"
- "rust-toolchain"
- "Cargo.lock"
- ".gitlab-ci.yml"
@ -14,7 +14,7 @@
.recompile:
rules:
- changes:
- "**/*.{glsl,png,rs,ron,toml,vox,yml,wav}"
- "**/*.{glsl,png,rs,ron,toml,vox,yml,wav,sh}"
- "rust-toolchain"
- "Cargo.lock"
- ".gitlab-ci.yml"