From 7963cfeade54b130a6efaf755cf0a49ff7c7bfe5 Mon Sep 17 00:00:00 2001 From: Songtronix Date: Thu, 28 May 2020 20:22:49 +0200 Subject: [PATCH] fix(ci): avoid running redundant jobs on master --- .gitlab/CI/recompile.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab/CI/recompile.yml b/.gitlab/CI/recompile.yml index 8ea4a5cfe5..0941d77e72 100644 --- a/.gitlab/CI/recompile.yml +++ b/.gitlab/CI/recompile.yml @@ -1,6 +1,7 @@ # Template to only run if actual changes has been made to the code and not just documentation .recompile: rules: + - if: $CI_COMMIT_REF_NAME !~ /^master$/ - changes: - "**/*.{rs,ron,toml,vox,png}" - "rust-toolchain"