From e7793889f91c1e6c5d0b0c51f2fdafe6970c7a2a Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Mon, 11 Apr 2022 14:29:52 +0200
Subject: [PATCH] .gitlab-ci.yml: Allow DCO check to fail

Due to a known issue[1] our DCO checker will fail for commits that have
a mismatching email for SoB and Author. For now, make this job optional.

[1] https://gitlab.eclipse.org/eclipse/oniro-core/oniro/-/issues/499

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 449f879..cc5e79c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,6 +19,8 @@ include:
 
 dco:
   extends: .dco
+  # https://gitlab.eclipse.org/eclipse/oniro-core/oniro/-/issues/499
+  allow_failure: true
 
 reuse:
   extends: .reuse
-- 
GitLab