Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 9c11606

Browse files
Use a placeholder for the action version in README
1 parent d08d592 commit 9c11606

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
# Disabling shallow clone is recommended for improving relevancy of reporting
4949
fetch-depth: 0
5050
- 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
5252
env:
5353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5454
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
@@ -57,7 +57,7 @@ jobs:
5757
You can change the analysis base directory by using the optional input `projectBaseDir` like this:
5858

5959
```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
6161
with:
6262
projectBaseDir: my-custom-directory
6363
```
@@ -66,7 +66,7 @@ In case you need to add additional analysis parameters, you can use the `args` o
6666

6767
```yaml
6868
- 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
7070
with:
7171
projectBaseDir: my-custom-directory
7272
args: >

0 commit comments

Comments
 (0)