diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 994dbb6a3efc7bbcf497c3116270e587edcaa989..26087b2cc4d8d367c09d320aa29ac804262fba4d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -704,6 +704,8 @@ gitlab:ui:visual:
       - app/assets/stylesheets/**/*.scss
       - app/assets/stylesheets/**/**/*.scss
   except:
+    refs:
+      - master
     variables:
       - $CI_COMMIT_MESSAGE =~ /\[skip visual\]/i
   artifacts: