diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3fbc7e..3df2b30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,8 @@ jobs: name: SonarCloud Scan uses: ./.github/workflows/sonar-scan.yml needs: unit-tests + secrets: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} e2e-tests: name: E2E Tests diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml index 2b9f87b..d9470b6 100644 --- a/.github/workflows/sonar-scan.yml +++ b/.github/workflows/sonar-scan.yml @@ -1,7 +1,6 @@ name: SonarCloud Scan on: - workflow_dispatch: workflow_call: jobs: @@ -13,5 +12,5 @@ jobs: uses: SonarSource/sonarcloud-github-action@master env: HAVE_SONAR_TOKEN: ${{ secrets.SONAR_TOKEN != '' }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}