Skip to content

Commit

Permalink
don't run sonarqube on older branches
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 28, 2024
1 parent c87d6bb commit 2188b07
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,3 @@ jobs:
- name: Build with extra cythonization
run: |
python ./setup.py build --with-cythonize_more
sonarqube:
name: Sonarqube
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
# If you wish to fail your job when the Quality Gate is red, uncomment the
# following lines. This would typically be used to fail a deployment.
# - uses: sonarsource/sonarqube-quality-gate-action@master
# timeout-minutes: 5
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit 2188b07

Please sign in to comment.