GitHub Action, scan your code with SonarQube to detects bugs, vulnerabilities and code smells.
3.0K
Using this GitHub Action, scan your code with SonarQube to detects bugs, vulnerabilities and code smells.
Project metadata, including the location to the sources to be analyzed, must be declared in the file sonar-project.properties in the base directory:
sonar.projectKey=myawesomeproject
sonar.sources=.
The workflow, usually declared in .github/workflows/build.yml, looks like:
on: push
name: Main Workflow
jobs:
sonarQubeTrigger:
name: SonarQube Trigger
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: SonarQube Scan
uses: advancedcsg-open/action-ccq@master
env:
SONARQUBE_URL: 'https://mysonar.url'
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Content type
Image
Digest
Size
139.8 MB
Last updated
almost 7 years ago
docker pull advancedcsg/action-ccq