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 1616737  Enable sonar-coveralls for pr from fork repos (#3293)
1616737 is described below

commit 16167373d924b4f457ce380144a2564be76b65b2
Author: HTHou <[email protected]>
AuthorDate: Wed Jun 2 14:47:16 2021 +0800

    Enable sonar-coveralls for pr from fork repos (#3293)
---
 .github/workflows/sonar-coveralls.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/sonar-coveralls.yml 
b/.github/workflows/sonar-coveralls.yml
index 42e6311..ab295bc 100644
--- a/.github/workflows/sonar-coveralls.yml
+++ b/.github/workflows/sonar-coveralls.yml
@@ -65,4 +65,5 @@ jobs:
           -Dsonar.host.url=https://sonarcloud.io \
           -Dsonar.login=${{ secrets.SONARCLOUD_TOKEN }} \
           -Dsonar.pullrequest.key=$PR_NUMBER \
+          -Dsonar.scm.revision=${{ github.event.pull_request.head.sha }} \
           -DskipTests -pl '!distribution' -am

Reply via email to