Cycles CI: skip unless Elixir code is modified
authorAlex Gleason <alex@alexgleason.me>
Fri, 11 Jun 2021 13:45:19 +0000 (08:45 -0500)
committerAlex Gleason <alex@alexgleason.me>
Fri, 11 Jun 2021 13:45:19 +0000 (08:45 -0500)
.gitlab-ci.yml

index 056af56cdc698f3bca8d2f843ed7b4095a7c5de7..3ac30b13df5eab064cc88239720ef33cc57c7808 100644 (file)
@@ -158,6 +158,11 @@ analysis:
 cycles:
   stage: test
   image: elixir:1.11
+  only:
+    changes:
+      - "**/*.ex"
+      - "**/*.exs"
+      - "mix.lock"
   cache: {}
   script:
     - mix deps.get