Skip to content

chore(actions): update sonarsource/sonarqube-scan-action action to v2… #81

chore(actions): update sonarsource/sonarqube-scan-action action to v2…

chore(actions): update sonarsource/sonarqube-scan-action action to v2… #81

Workflow file for this run

name: SonarQube
on:
push:
branches:
- master
jobs:
sonarqube:
name: SonarQube
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: SonarQube file
run: |
echo "sonar.projectKey=${{ github.event.repository.name }}" > sonar-project.properties
- name: SonarQube Scan
uses: sonarsource/[email protected]
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}