Skip to content

Commit

Permalink
Updatd sonar qube action
Browse files Browse the repository at this point in the history
  • Loading branch information
sureshpshell committed Oct 25, 2024
1 parent d075172 commit d84eb08
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,11 @@ jobs:
run: mvn -e -B verify
working-directory: sonar-plugin

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
if: |
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
matrix.node-version == '20.x' &&
github.actor != 'dependabot[bot]'
- name: SonarQube Scan
uses: sonarsource/[email protected] # Ex: v2.1.0, See the latest version at https://github.com/marketplace/actions/official-sonarqube-scan
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit d84eb08

Please sign in to comment.