From 39ad9b1d83cbc566af76003b0a8636bccf55bdfa Mon Sep 17 00:00:00 2001 From: Twice Date: Sat, 27 Jan 2024 12:40:06 +0900 Subject: [PATCH] Fix coverage upload failure in Sonar CI (#2060) --- .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 918488a7872..36a2d2a0f39 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