Update README.md

This commit is contained in:
Wouter Admiraal
2021-05-25 13:34:50 +02:00
committed by GitHub
parent 68528dc418
commit 15767f0e4e
+5 -4
View File
@@ -34,7 +34,7 @@ jobs:
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
#Triggering SonarQube analysis as results of it is required by Quality Gate check
# Triggering SonarQube analysis as results of it are required by Quality Gate check
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
env:
@@ -60,9 +60,10 @@ Typically, report metadata file for different scanners can vary and can be locat
Example usage:
```yaml
uses: sonarsource/sonarqube-quality-gate-action@master
with:
scanMetadataReportFile: target/sonar/report-task.txt
- name: SonarQube Quality Gate check
uses: sonarsource/sonarqube-quality-gate-action@master
with:
scanMetadataReportFile: target/sonar/report-task.txt
```
### Environment variables