Skip to content

Commit 553fb45

Browse files
authored
Reorder secret exposure in build-pr.yml
1 parent ad6f71c commit 553fb45

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build-pr.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,11 @@ jobs:
7272
method: jwt
7373
path: jwt # Matches the path enabled in Vault (Step 5)
7474
role: postiz-ci # Matches the role name created in Vault (Step 6)
75-
76-
kv-version: 2
7775

7876
# Define the secret path and expose the value as an environment variable
7977
secrets: |
80-
postiz/data/ci/sonar SONAR_TOKEN | env
81-
postiz/data/ci/sonar SONAR_HOST_URL | env
78+
postiz/data/ci/sonar SONAR_HOST_URL | SONAR_HOST_URL ;
79+
postiz/data/ci/sonar SONAR_TOKEN | SONAR_TOKEN
8280
8381
- name: SonarQube Analysis (Pull Request)
8482
uses: SonarSource/sonarqube-scan-action@v6

0 commit comments

Comments
 (0)