This is an automated email from the ASF dual-hosted git repository.

twice pushed a commit to branch twice/fix-sonarcloud-out-of-range
in repository https://gitbox.apache.org/repos/asf/kvrocks.git

commit 369bab49e6fbd0b2f3dc01c7ab30a9cf62602ceb
Author: Twice <[email protected]>
AuthorDate: Sat Jan 27 11:26:26 2024 +0900

    Fix coverage upload failure in Sonar CI
---
 .github/workflows/sonar.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml
index 918488a7..36a2d2a0 100644
--- a/.github/workflows/sonar.yaml
+++ b/.github/workflows/sonar.yaml
@@ -31,7 +31,7 @@ jobs:
       - uses: actions/checkout@v3
         with:
           repository: ${{ github.event.workflow_run.head_repository.full_name 
}}
-          ref: ${{ github.event.workflow_run.head_branch }}
+          ref: ${{ github.event.workflow_run.head_sha }}
           fetch-depth: 0
       - name: Install sonar-scanner and build-wrapper
         uses: SonarSource/sonarcloud-github-c-cpp@v2

Reply via email to