diff options
author | Alexander Vladishev <aleksander.vladishev@zabbix.com> | 2022-10-05 15:35:36 +0300 |
---|---|---|
committer | Alexander Vladishev <aleksander.vladishev@zabbix.com> | 2022-10-05 15:38:26 +0300 |
commit | df707143316438ddedf8a852f63c8c970d6d2b6f (patch) | |
tree | 88a588e6816540aa120348ed2fa668c3fa168ee3 /.github | |
parent | 1ecc6a80db6f2e22129a6817c3d554b652c1ecfe (diff) |
.......... [ZBXNEXT-686] updated SonarCloud configuration files
(cherry picked from commit 7ff7d6c69a45586f5b788241ce8439df7ade21aa)
(cherry picked from commit 70f76de87624e9101e58a9e9892b978c83b757f2)
(cherry picked from commit 19a2a2cb32d91845331aa1f8ce0605f354e575f6)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/sonarcloud-PHP.yml | 26 | ||||
-rw-r--r-- | .github/workflows/sonarcloud.yml (renamed from .github/workflows/sonarcloud-C.yml) | 4 |
2 files changed, 2 insertions, 28 deletions
diff --git a/.github/workflows/sonarcloud-PHP.yml b/.github/workflows/sonarcloud-PHP.yml deleted file mode 100644 index 01b0ac9219c..00000000000 --- a/.github/workflows/sonarcloud-PHP.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: SonarCloud Build - -on: - push: - branches: - - 'master' - - 'release/*' - pull_request: - types: [opened, synchronize, reopened] - -jobs: - SonarCloud-others: - name: SonarCloud-others - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@master - with: - args: > - -Dsonar.sources=ui/ - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/.github/workflows/sonarcloud-C.yml b/.github/workflows/sonarcloud.yml index 53ba489197f..5832479a5a6 100644 --- a/.github/workflows/sonarcloud-C.yml +++ b/.github/workflows/sonarcloud.yml @@ -6,8 +6,8 @@ on: jobs: - SonarCloud-C: - name: SonarCloud-C + SonarCloud: + name: SonarCloud runs-on: ubuntu-latest env: SONAR_SCANNER_VERSION: 4.7.0.2747 |