From 4a9ed75435355acdd880620001ce3cf65f99b854 Mon Sep 17 00:00:00 2001
From: Yassine Doghri <yassine@doghri.fr>
Date: Tue, 22 Feb 2022 14:13:06 +0000
Subject: [PATCH] ci(gitlabci): skip running lint-commit-msg job during merge
 requests

---
 .gitlab-ci.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 07a27f2dd1..a2439340c8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,6 +35,11 @@ lint-commit-msg:
     - ./scripts/lint-commit-msg.sh
   dependencies:
     - js-dependencies
+  only:
+    - develop
+    - main
+    - beta
+    - alpha
 
 lint-php:
   stage: quality
-- 
GitLab