diff --git a/.github/workflows/sonar_cloud.yaml b/.github/workflows/sonar_cloud.yaml index c6e297618..15c9dbe92 100644 --- a/.github/workflows/sonar_cloud.yaml +++ b/.github/workflows/sonar_cloud.yaml @@ -11,7 +11,7 @@ jobs: sonarcloud: name: Prepare and run Sonar Scan runs-on: ubuntu-latest - if: secrets.SONAR_TOKEN != '' # Skip the job if SONAR_TOKEN is not set + if: ${{ secrets.SONAR_TOKEN }} != '' # Skip the job if SONAR_TOKEN is not set container: sogno/dpsim:dev env: BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed