Skip to content

Commit b7c432f

Browse files
committed
chore: enable SonarCloud workflows for fork testing
1 parent bef6c67 commit b7c432f

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/sonar-build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ concurrency:
3737

3838
jobs:
3939
build:
40-
# Temporarily disabled until SonarCloud quality gate is adjusted (INFRA-27808)
41-
if: false && github.repository == 'apache/camel'
40+
if: true
4241
name: Build for Sonar Analysis
4342
runs-on: ubuntu-latest
4443
steps:

.github/workflows/sonar-scan.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,8 @@ concurrency:
2828

2929
jobs:
3030
sonar:
31-
# Temporarily disabled until SonarCloud quality gate is adjusted (INFRA-27808)
3231
if: >
33-
false &&
34-
github.event.workflow_run.conclusion == 'success' &&
35-
github.repository == 'apache/camel'
32+
github.event.workflow_run.conclusion == 'success'
3633
name: Sonar Analysis
3734
runs-on: ubuntu-latest
3835
permissions:
@@ -143,11 +140,11 @@ jobs:
143140
-Dsonar.pullrequest.branch=${{ env.pr_head_ref }}
144141
-Dsonar.pullrequest.base=${{ env.pr_base_ref }}
145142
-Dsonar.pullrequest.key=${{ env.pr_number }}
146-
-Dsonar.pullrequest.github.repository=apache/camel
143+
-Dsonar.pullrequest.github.repository=gnodet/camel
147144
-Dsonar.pullrequest.provider=GitHub
148145
-Dsonar.pullrequest.github.summary_comment=true
149-
-Dsonar.projectKey=apache_camel
150-
-Dsonar.organization=apache
146+
-Dsonar.projectKey=gnodet_camel
147+
-Dsonar.organization=gnodet
151148
-B -V
152149
env:
153150
MAVEN_OPTS: "-XX:+UseG1GC -XX:InitialHeapSize=2g -XX:MaxHeapSize=6g -XX:+UseStringDeduplication"

0 commit comments

Comments
 (0)