added SHA to action definition
This commit is contained in:
@@ -45,7 +45,7 @@ jobs:
|
||||
|
||||
# You can pin the exact commit or the version.
|
||||
# uses: SonarSource/sonarqube-scan-action@v1.1.0
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user