fix(ci): avoid running redundant jobs on master

This commit is contained in:
Songtronix 2020-05-28 20:22:49 +02:00
parent d7ea0cad8f
commit 7963cfeade

View File

@ -1,6 +1,7 @@
# Template to only run if actual changes has been made to the code and not just documentation # Template to only run if actual changes has been made to the code and not just documentation
.recompile: .recompile:
rules: rules:
- if: $CI_COMMIT_REF_NAME !~ /^master$/
- changes: - changes:
- "**/*.{rs,ron,toml,vox,png}" - "**/*.{rs,ron,toml,vox,png}"
- "rust-toolchain" - "rust-toolchain"