Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MindPatch authored Nov 20, 2024
1 parent 8dd4916 commit 5205bdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- uses: sonarsource/sonarqube-scan-action@master
env:

SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}

# If you wish to fail your job when the Quality Gate is red, uncomment the
# following lines. This would typically be used to fail a deployment.
# - uses: sonarsource/sonarqube-quality-gate-action@master
Expand All @@ -30,4 +29,5 @@ jobs:
run: docker pull blacklocksec/code-scanner:latest

- name: Run Blacklock Code Scanner
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
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

0 comments on commit 5205bdc

Please sign in to comment.