You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 22, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ jobs:
48
48
# Disabling shallow clone is recommended for improving relevancy of reporting
49
49
fetch-depth: 0
50
50
- name: SonarCloud Scan
51
-
uses: sonarsource/sonarcloud-github-action@master
51
+
uses: sonarsource/sonarcloud-github-action@<action version> # Ex: v2.1.0, See the latest version at https://github.com/marketplace/actions/sonarcloud-scan
52
52
env:
53
53
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54
54
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
@@ -57,7 +57,7 @@ jobs:
57
57
You can change the analysis base directory by using the optional input `projectBaseDir` like this:
58
58
59
59
```yaml
60
-
uses: sonarsource/sonarcloud-github-action@master
60
+
uses: sonarsource/sonarcloud-github-action@<action version> # Ex: v2.1.0, See the latest version at https://github.com/marketplace/actions/sonarcloud-scan
61
61
with:
62
62
projectBaseDir: my-custom-directory
63
63
```
@@ -66,7 +66,7 @@ In case you need to add additional analysis parameters, you can use the `args` o
66
66
67
67
```yaml
68
68
- name: Analyze with SonarCloud
69
-
uses: sonarsource/sonarcloud-github-action@master
69
+
uses: sonarsource/sonarcloud-github-action@<action version> # Ex: v2.1.0, See the latest version at https://github.com/marketplace/actions/sonarcloud-scan
0 commit comments