Use on-demand activation for low-traffic services #1195
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Quality Analysis | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| sonarqube: | |
| name: Run SonarQube scan | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.2 | |
| with: | |
| # Shallow clones should be disabled for a better relevancy of analysis. | |
| fetch-depth: 0 | |
| - name: Run SonarQube scan | |
| uses: SonarSource/sonarqube-scan-action@59db25f34e16620e48ab4bb9e4a5dce155cb5432 # v8 | |
| env: | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |