From e0643240e2ef1f12238c1a3c1e80d78353afc751 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Sat, 22 May 2021 18:32:36 +0200
Subject: [PATCH] [ci] #166: Fixup to use newest syntax

The tools jobs were not triggered by the MR based pipelines
---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bf9db4df..e0a74039 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,8 +11,8 @@ variables:
 image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
 
 .code_changes:
-  only:
-    changes:
+  rules:
+    - changes:
       - duniterpy/**/*.py
       - tests/**/*.py
       - examples/*.py
-- 
GitLab