From b71eec1edf499601aeb884752ec650e90d14be87 Mon Sep 17 00:00:00 2001 From: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com> Date: Wed, 20 Jan 2021 13:29:07 +0100 Subject: [PATCH] TSK-1497: disabled sonarqube on release and specified tag --- .github/workflows/continuous-integration.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 952fc0674..c880abf01 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -5,7 +5,7 @@ on: branches-ignore: - dependabot/** tags: - - v* + - v[0-9]+\.[0-9]+\.[0-9]+ pull_request: branches: - master @@ -422,7 +422,8 @@ jobs: upload_to_sonar: runs-on: ubuntu-20.04 name: Upload SonarQube analysis to sonarcloud - if: github.head_ref == '' # no pull request + # no pull request and not on release + if: github.head_ref == '' && !startsWith(github.ref, 'refs/tags') needs: [ test_frontend, test_backend, test_taskana-rest-spring-example-wildfly ] steps: - name: Git checkout