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

haonan pushed a commit to branch fix_sonar_base_branch
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 75563d5848ca287f66d984968ece26e4578a0fbc
Author: HTHou <[email protected]>
AuthorDate: Tue Jun 1 17:10:19 2021 +0800

    Fix Could not find ref: master in refs/heads in sonar check
---
 .github/workflows/sonar-coveralls.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/sonar-coveralls.yml 
b/.github/workflows/sonar-coveralls.yml
index 299ab84..bf9ea0f 100644
--- a/.github/workflows/sonar-coveralls.yml
+++ b/.github/workflows/sonar-coveralls.yml
@@ -65,6 +65,6 @@ jobs:
           -Dsonar.host.url=https://sonarcloud.io \
           -Dsonar.login=${{ secrets.SONARCLOUD_TOKEN }} \
           -Dsonar.pullrequest.branch=$GITHUB_HEAD_REF \
-          -Dsonar.pullrequest.base=$GITHUB_BASE_REF \
+          -Dsonar.pullrequest.base=${{ github.ref }} \
           -Dsonar.pullrequest.key=$PR_NUMBER \
           -DskipTests -pl '!distribution' -am

Reply via email to