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

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new fb1225b  Revert "(chores) ci: experimental support for automated PR 
analysis with SonarCloud"
fb1225b is described below

commit fb1225b9b7ae08fa2b7b0dbcd239f85af0e53d08
Author: Otavio R. Piske <[email protected]>
AuthorDate: Mon Feb 14 16:51:00 2022 +0100

    Revert "(chores) ci: experimental support for automated PR analysis with 
SonarCloud"
    
    This reverts commit ad0be74bc310ed1e30f9e36bb5e59c3d6b59e710.
---
 .github/workflows/master-pr-build.yml | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/master-pr-build.yml 
b/.github/workflows/master-pr-build.yml
index ba4dd2e..5072cf8 100644
--- a/.github/workflows/master-pr-build.yml
+++ b/.github/workflows/master-pr-build.yml
@@ -18,11 +18,9 @@
 name: main pr build
 
 on:
-  push:
+  pull_request:
     branches:
       - main
-  pull_request_target:
-    types: [opened, synchronize, reopened]
 
 jobs:
   checkstyle:
@@ -56,7 +54,4 @@ jobs:
           java-version: ${{ matrix.java }}
           cache: 'maven'
       - name: maven build
-        env:
-          GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
-          SONAR_TOKEN: '${{ secrets.SONAR_TOKEN }}'
-        run: ./mvnw -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress 
-Pfastinstall -Dcheckstyle.skip=true -DskipTests 
-Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache 
-Dsonar.java.experimental.batchModeSizeInKB=2048 
-Dsonar.projectKey=apache_camel install 
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
+        run: ./mvnw -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress 
-Pfastinstall -Dcheckstyle.skip=true -DskipTests install

Reply via email to