Skip to content

Commit

Permalink
added SHA to action definition
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe-havard-sonarsource authored Dec 1, 2022
1 parent db5c5c4 commit 0cd0541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code-scanning/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

# You can pin the exact commit or the version.
# uses: SonarSource/[email protected]
uses: SonarSource/sonarqube-scan-action@v1.1.0
uses: SonarSource/sonarqube-scan-action@7295e71c9583053f5bf40e9d4068a0c974603ec8
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 0cd0541

Please sign in to comment.