Skip to content

Commit

Permalink
chore: sonarqube (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-lx authored Dec 7, 2022
1 parent 9827fe4 commit 05190f7
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/sonarqube.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: SonarQube



on:
push:
branches:
- main



jobs:
sonarqube:
name: SonarQube
runs-on: self-hosted

steps:
- uses: actions/checkout@v2
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 }}

0 comments on commit 05190f7

Please sign in to comment.