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

yangzhg pushed a commit to branch yangzhg-patch-1
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 58b21e37cac151a398fe0cd7dc9ef140e4c81112
Author: Zhengguo Yang <yangz...@gmail.com>
AuthorDate: Thu Aug 11 14:03:46 2022 +0800

    [chore](check) update sonarcloud workflow files
    
    update sonarcloud workflow files try to trigger workflow after merge
---
 .github/workflows/sonarcloud.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml
index 543587cc63..5cad07df68 100644
--- a/.github/workflows/sonarcloud.yml
+++ b/.github/workflows/sonarcloud.yml
@@ -21,12 +21,13 @@ on:
   push:
     branches:
       - master
-  pull_request_target:
+    types: [closed]
 
 jobs:
   build:
     name: Build
     runs-on: ubuntu-latest
+    if: ${{ github.event.pull_request.merged }}
     env:
       SONAR_SCANNER_VERSION: 4.7.0.2747
       SONAR_SERVER_URL: "https://sonarcloud.io";


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to