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

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


The following commit(s) were added to refs/heads/master by this push:
     new bc6fc68  Fix `Could not find ref: master in refs/heads` in sonar 
github action workflow(#3301)
bc6fc68 is described below

commit bc6fc680f7bd9f3409b37802268b64e42d9e503b
Author: Haonan <[email protected]>
AuthorDate: Tue Jun 1 17:13:16 2021 +0800

    Fix `Could not find ref: master in refs/heads` in sonar github action 
workflow(#3301)
---
 .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