From ee1fd3364780f7f9877826d604b21e2e915fda93 Mon Sep 17 00:00:00 2001 From: "antoine.vinot" Date: Thu, 23 May 2024 11:56:27 +0200 Subject: [PATCH] Use a placeholder for the action version in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 52aa45d..356ade0 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ jobs: # Disabling shallow clone is recommended for improving relevancy of reporting fetch-depth: 0 - name: SonarCloud Scan - uses: sonarsource/sonarcloud-github-action@master + uses: sonarsource/sonarcloud-github-action@ # Ex: v2.1.0, See the latest version at https://github.com/marketplace/actions/sonarcloud-scan env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} @@ -57,7 +57,7 @@ jobs: You can change the analysis base directory by using the optional input `projectBaseDir` like this: ```yaml -uses: sonarsource/sonarcloud-github-action@master +uses: sonarsource/sonarcloud-github-action@ # Ex: v2.1.0, See the latest version at https://github.com/marketplace/actions/sonarcloud-scan with: projectBaseDir: my-custom-directory ``` @@ -66,7 +66,7 @@ In case you need to add additional analysis parameters, you can use the `args` o ```yaml - name: Analyze with SonarCloud - uses: sonarsource/sonarcloud-github-action@master + uses: sonarsource/sonarcloud-github-action@ # Ex: v2.1.0, See the latest version at https://github.com/marketplace/actions/sonarcloud-scan with: projectBaseDir: my-custom-directory args: >