From 3859c3fe1937bcdf5a93fbc8a013e57acb031f22 Mon Sep 17 00:00:00 2001 From: Cody Cook Date: Sat, 22 Apr 2023 04:34:27 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2682542..6a84600 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,5 +12,5 @@ sonarqube-check: script: - sonar-scanner allow_failure: true - only: - - main # or the name of your main branch + rules: + - if: $CI_COMMIT_BRANCH == 'main'