Skip to content

Commit e7c7b24

Browse files
authored
DATAGO-98290: Update workflows (#30)
1 parent 91a06c1 commit e7c7b24

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/build-java-binder.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ jobs:
4646
statuses: write
4747
checks: write
4848
id-token: write
49-
env:
50-
VAULT_ADDR: https://vault.maas-vault-prod.solace.cloud:8200
49+
5150
steps:
5251
- name: Checkout repo
5352
uses: actions/checkout@v4
@@ -60,7 +59,7 @@ jobs:
6059
uses: hashicorp/vault-action@v3
6160
continue-on-error: true
6261
with:
63-
url: "https://vault.maas-vault-prod.solace.cloud:8200"
62+
url: "${{ secrets.VAULT_ADDR }}"
6463
role: "cicd-workflows-secret-read-role"
6564
method: jwt
6665
path: jwt-github

.github/workflows/build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ jobs:
2424
uses: ./.github/workflows/build-java-binder.yaml
2525
with:
2626
unit_integration_test_reports: "**/target/failsafe-reports/**/TEST*.xml"
27+
secrets: inherit
2728

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ jobs:
4343
contents: write
4444
packages: write
4545
id-token: write
46-
env:
47-
VAULT_ADDR: https://vault.maas-vault-prod.solace.cloud:8200
46+
4847
steps:
4948
- uses: actions/checkout@v4
5049
with:
@@ -57,7 +56,7 @@ jobs:
5756
uses: hashicorp/vault-action@v3
5857
continue-on-error: true
5958
with:
60-
url: "${{ env.VAULT_ADDR }}"
59+
url: "${{ secrets.VAULT_ADDR }}"
6160
role: "cicd-workflows-secret-read-role"
6261
method: jwt
6362
path: jwt-github

0 commit comments

Comments
 (0)