From f959f69de6400dd39cfa2853d627d75e0bada82e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Fri, 23 Feb 2024 16:23:01 +0100 Subject: [PATCH] ci: execute only on merge requests and push on develop --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d81b539..fdb56bd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,9 @@ stages: test: stage: "test" + only: + - "merge_requests" + - "develop" script: - "npm clean-install" - 'echo "${CI_COMMIT_MESSAGE}" | npm run lint:commit'