diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca5d171d42e..41b4d03eda0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,6 +39,7 @@ jobs: env: MAVEN_OPTS: "-Xmx8g" with: + repox-url: https://repox-internal.dev.sonar.build deploy-pull-request: true sonar-platform: none # Prevent analysis # Override artifactory roles for public repo using private access @@ -93,6 +94,7 @@ jobs: - name: Configure Maven uses: SonarSource/ci-github-actions/config-maven@v2 with: + repox-url: https://repox-internal.dev.sonar.build artifactory-reader-role: private-reader use-develocity: ${{ env.USE_DEVELOCITY }} develocity-url: ${{ env.DEVELOCITY_URL }} @@ -212,6 +214,7 @@ jobs: - name: Configure Maven uses: SonarSource/ci-github-actions/config-maven@v2 with: + repox-url: https://repox-internal.dev.sonar.build artifactory-reader-role: private-reader use-develocity: ${{ env.USE_DEVELOCITY }} develocity-url: ${{ env.DEVELOCITY_URL }} @@ -260,6 +263,7 @@ jobs: namespace: sanity - uses: SonarSource/ci-github-actions/config-maven@v2 with: + repox-url: https://repox-internal.dev.sonar.build artifactory-reader-role: private-reader use-develocity: ${{ env.USE_DEVELOCITY }} develocity-url: ${{ env.DEVELOCITY_URL }} @@ -303,6 +307,7 @@ jobs: development/kv/data/next token | SONAR_TOKEN; - uses: SonarSource/ci-github-actions/build-maven@v2 with: + repox-url: https://repox-internal.dev.sonar.build deploy: false artifactory-reader-role: private-reader # Override default public-reader artifactory-deployer-role: qa-deployer # Override default public-deployer @@ -342,6 +347,7 @@ jobs: namespace: custom-rules-license-check - uses: SonarSource/ci-github-actions/config-maven@v2 with: + repox-url: https://repox-internal.dev.sonar.build artifactory-reader-role: private-reader use-develocity: ${{ env.USE_DEVELOCITY }} develocity-url: ${{ env.DEVELOCITY_URL }} @@ -386,6 +392,7 @@ jobs: - name: Configure Maven uses: SonarSource/ci-github-actions/config-maven@v2 with: + repox-url: https://repox-internal.dev.sonar.build artifactory-reader-role: private-reader use-develocity: ${{ env.USE_DEVELOCITY }} develocity-url: ${{ env.DEVELOCITY_URL }} diff --git a/.github/workflows/unified-dogfooding.yml b/.github/workflows/unified-dogfooding.yml index 054cc5de75b..42e20983122 100644 --- a/.github/workflows/unified-dogfooding.yml +++ b/.github/workflows/unified-dogfooding.yml @@ -21,6 +21,7 @@ jobs: MAVEN_OPTS: "-Xmx8g" JAVA_TOOL_OPTIONS: "" with: + repox-url: https://repox-internal.dev.sonar.build run-shadow-scans: true artifactory-reader-role: private-reader artifactory-deployer-role: qa-deployer