Skip to content

Commit 5205bdc

Browse files
authored
Update main.yml
1 parent 8dd4916 commit 5205bdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ jobs:
1313
- uses: actions/checkout@v2
1414
with:
1515
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
16-
1716
- uses: sonarsource/sonarqube-scan-action@master
1817
env:
18+
1919
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2020
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
21-
2221
# If you wish to fail your job when the Quality Gate is red, uncomment the
2322
# following lines. This would typically be used to fail a deployment.
2423
# - uses: sonarsource/sonarqube-quality-gate-action@master
@@ -30,4 +29,5 @@ jobs:
3029
run: docker pull blacklocksec/code-scanner:latest
3130

3231
- name: Run Blacklock Code Scanner
33-
run: docker run --rm -v $(pwd):/app -e SONAR_PROJECTKEY="GL:SKZjPPa-3i9xH" -e SONAR_HOST_URL=${{ secrets.SONAR_HOST_URL }} -e SONAR_TOKEN=${{ secrets.SONAR_TOKEN }} blacklocksec/code-scanner:latest
32+
run: docker run --rm -v $(pwd):/app -e SONAR_PROJECTKEY="MW1y0ahWyGjulTZd" -e SONAR_HOST_URL=${{ secrets.SONAR_HOST_URL }} -e SONAR_TOKEN=${{ secrets.SONAR_TOKEN }} blacklocksec/code-scanner:dev
33+

0 commit comments

Comments
 (0)