Skip to content
Open
23 changes: 15 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ jobs:
- uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0
with:
version: 2026.9.14
- uses: SonarSource/ci-github-actions/build-maven@v2
- uses: SonarSource/ci-github-actions/build-maven@c3a85ac3a2f67f86966e2fb1fdf9a7c1bdc997dc # 2.2.0
id: build-maven
env:
MAVEN_OPTS: "-Xmx8g"
with:
repox-url: https://repox-internal.dev.sonar.build
Comment thread
gitar-bot[bot] marked this conversation as resolved.
deploy-pull-request: true
sonar-platform: none # Prevent analysis
# Override artifactory roles for public repo using private access
Expand Down Expand Up @@ -91,8 +92,9 @@ jobs:
with:
namespace: ruling-qa-${{ matrix.item.runner }}-${{ matrix.item.profile }}-${{ matrix.item.sq_version }}
- name: Configure Maven
uses: SonarSource/ci-github-actions/config-maven@v2
uses: SonarSource/ci-github-actions/config-maven@c3a85ac3a2f67f86966e2fb1fdf9a7c1bdc997dc # 2.2.0
with:
repox-url: https://repox-internal.dev.sonar.build
Comment thread
gitar-bot[bot] marked this conversation as resolved.
artifactory-reader-role: private-reader
use-develocity: ${{ env.USE_DEVELOCITY }}
develocity-url: ${{ env.DEVELOCITY_URL }}
Expand Down Expand Up @@ -210,8 +212,9 @@ jobs:
with:
namespace: plugin-qa-${{ matrix.sq_version }}
- name: Configure Maven
uses: SonarSource/ci-github-actions/config-maven@v2
uses: SonarSource/ci-github-actions/config-maven@c3a85ac3a2f67f86966e2fb1fdf9a7c1bdc997dc # 2.2.0
with:
repox-url: https://repox-internal.dev.sonar.build
artifactory-reader-role: private-reader
use-develocity: ${{ env.USE_DEVELOCITY }}
develocity-url: ${{ env.DEVELOCITY_URL }}
Expand Down Expand Up @@ -258,8 +261,9 @@ jobs:
- uses: ./.github/actions/maven-cache
with:
namespace: sanity
- uses: SonarSource/ci-github-actions/config-maven@v2
- uses: SonarSource/ci-github-actions/config-maven@c3a85ac3a2f67f86966e2fb1fdf9a7c1bdc997dc # 2.2.0
with:
repox-url: https://repox-internal.dev.sonar.build
artifactory-reader-role: private-reader
use-develocity: ${{ env.USE_DEVELOCITY }}
develocity-url: ${{ env.DEVELOCITY_URL }}
Expand Down Expand Up @@ -301,8 +305,9 @@ jobs:
secrets: |
development/kv/data/next url | SONAR_HOST_URL;
development/kv/data/next token | SONAR_TOKEN;
- uses: SonarSource/ci-github-actions/build-maven@v2
- uses: SonarSource/ci-github-actions/build-maven@c3a85ac3a2f67f86966e2fb1fdf9a7c1bdc997dc # 2.2.0
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
Expand Down Expand Up @@ -340,8 +345,9 @@ jobs:
- uses: ./.github/actions/maven-cache
with:
namespace: custom-rules-license-check
- uses: SonarSource/ci-github-actions/config-maven@v2
- uses: SonarSource/ci-github-actions/config-maven@c3a85ac3a2f67f86966e2fb1fdf9a7c1bdc997dc # 2.2.0
with:
repox-url: https://repox-internal.dev.sonar.build
artifactory-reader-role: private-reader
use-develocity: ${{ env.USE_DEVELOCITY }}
develocity-url: ${{ env.DEVELOCITY_URL }}
Expand Down Expand Up @@ -384,8 +390,9 @@ jobs:
with:
namespace: qa-os-win
- name: Configure Maven
uses: SonarSource/ci-github-actions/config-maven@v2
uses: SonarSource/ci-github-actions/config-maven@c3a85ac3a2f67f86966e2fb1fdf9a7c1bdc997dc # 2.2.0
with:
repox-url: https://repox-internal.dev.sonar.build
artifactory-reader-role: private-reader
use-develocity: ${{ env.USE_DEVELOCITY }}
develocity-url: ${{ env.DEVELOCITY_URL }}
Expand Down Expand Up @@ -414,7 +421,7 @@ jobs:
env:
BUILD_NUMBER: ${{ needs.build.outputs.build-number }}
steps:
- uses: SonarSource/ci-github-actions/promote@v2
- uses: SonarSource/ci-github-actions/promote@c3a85ac3a2f67f86966e2fb1fdf9a7c1bdc997dc # 2.2.0
with:
promote-pull-request: true

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/unified-dogfooding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ jobs:
- uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0
with:
version: 2026.9.14
- uses: SonarSource/ci-github-actions/build-maven@v2
- uses: SonarSource/ci-github-actions/build-maven@c3a85ac3a2f67f86966e2fb1fdf9a7c1bdc997dc # 2.2.0
env:
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
Expand Down
Loading