Skip to content

Commit 5f2f6f7

Browse files
BUILD-9674 Do not fetch artifactory deploy secret when deploy disabled
1 parent 48b4f2f commit 5f2f6f7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,15 @@ jobs:
3939
version: 2025.7.12
4040
- name: Build, Analyze and deploy
4141
id: build
42-
uses: SonarSource/ci-github-actions/build-gradle@master # dogfood
42+
uses: SonarSource/ci-github-actions/build-gradle@feat/mmatuszny/BUILD-9674-dont-fetch-secrets # dogfood
4343
env:
4444
BUILD_NUMBER: ${{ needs.get-build-number.outputs.BUILD_NUMBER }}
4545
with:
4646
deploy-pull-request: true
4747
artifactory-reader-role: private-reader
4848
artifactory-deployer-role: qa-deployer
4949
provenance: 'true'
50+
deploy: true
5051
- name: verify build-gradle behavior
5152
env:
5253
DEPLOYED: ${{ steps.build.outputs.deployed }}
@@ -81,7 +82,7 @@ jobs:
8182
- uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
8283
with:
8384
version: 2025.7.12
84-
- uses: SonarSource/ci-github-actions/build-gradle@master # dogfood
85+
- uses: SonarSource/ci-github-actions/build-gradle@feat/mmatuszny/BUILD-9674-dont-fetch-secrets # dogfood
8586
id: build
8687
env:
8788
BUILD_NUMBER: ${{ needs.get-build-number.outputs.BUILD_NUMBER }}

0 commit comments

Comments
 (0)