Skip to content

Commit 4408ba5

Browse files
committed
ci: don't fail build when SonarQube scan step errors
The SonarQube scan runs as the final step of the test job and intermittently returns HTTP 403 while downloading the scanner CLI from binaries.sonarsource.com, failing the whole build even though tests passed. It is a reporting step and the quality gate is reported via its own check, so mark it continue-on-error.
1 parent fc97b3c commit 4408ba5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ jobs:
8484
- name: Run Tests
8585
run: bun run coverage
8686
- uses: sonarsource/sonarqube-scan-action@7006c4492b2e0ee0f816d36501671557c97f5995 # v8.1
87+
# Reporting only; a transient scanner-download 403 must not fail the build. The quality gate is reported via its own check.
88+
continue-on-error: true
8789
env:
8890
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8991
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)