Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Provide SONAR_TOKEN from the CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Ethernal committed Dec 7, 2023
1 parent 269256f commit ec167aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
name: SonarCloud Scan
uses: ./.github/workflows/sonar-scan.yml
needs: unit-tests
secrets: inherit

e2e-tests:
name: E2E Tests
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/sonar-scan.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: SonarCloud Scan

on:
workflow_dispatch:
workflow_call:

jobs:
Expand All @@ -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 }}

0 comments on commit ec167aa

Please sign in to comment.