Skip to content

Commit bdcde11

Browse files
committed
CQ: Avoid expanding secrets in a run block
1 parent a97e9ef commit bdcde11

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ jobs:
179179
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
180180
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
181181
shell: powershell
182-
env:
183-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
184182
run: |
185183
.\.sonar\scanner\dotnet-sonarscanner begin /k:"abhinavminhas_QueryDB" /o:"abhinavminhas" /d:sonar.token="$SONAR_TOKEN" /d:sonar.host.url="https://sonarcloud.io"
186184
dotnet build

.github/workflows/code-quality.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4141
shell: powershell
42-
env:
43-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4442
run: |
4543
.\.sonar\scanner\dotnet-sonarscanner begin /k:"abhinavminhas_QueryDB" /o:"abhinavminhas" /d:sonar.token="$SONAR_TOKEN" /d:sonar.host.url="https://sonarcloud.io"
4644
dotnet build

0 commit comments

Comments
 (0)