Skip to content

Commit

Permalink
Use commit hash with GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
istvan-bodo-sonarsource committed Aug 14, 2024
1 parent c0aabb5 commit 22be64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@master
uses: SonarSource/sonarqube-scan-action@2af7c4bea3abd8c236b5edb80998f31374896f09
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Generate a token on SonarQube, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret)
Expand Down

0 comments on commit 22be64c

Please sign in to comment.