Skip to content

Commit

Permalink
Update central_SONAR.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
christosservos authored Feb 15, 2024
1 parent d3845f5 commit 08f5614
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/central_SONAR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,11 @@ on:
required: true

jobs:
check_secret:
name: Check secret presence
runs-on: ubuntu-latest
steps:
- run: if [[ -z "$SONAR_TOKEN" ]]; then exit 1; else echo "Secret exists. The workflow will be continued"; fi
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}


SAST:
name: SAST - SonarCloud analysis
needs: check_secret
#needs: check_secret
runs-on: ubuntu-latest
steps:
- name: Checkout action
Expand Down

0 comments on commit 08f5614

Please sign in to comment.