Skip to content

ci: fix SonarQube scan 403 (bump action to v8.2.0)#4

Merged
chaholl merged 1 commit into
mainfrom
fix/sonar-scanner-403
Jun 24, 2026
Merged

ci: fix SonarQube scan 403 (bump action to v8.2.0)#4
chaholl merged 1 commit into
mainfrom
fix/sonar-scanner-403

Conversation

@chaholl

@chaholl chaholl commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

The SonarQube Analysis check fails on every PR with:

java.lang.IllegalStateException: Error status returned by url [https://api.sonarcloud.io/analysis/jres?os=linux&arch=x86_64]: 403

The old SonarSource/sonarqube-scan-action@v3 bundles a scanner whose JRE-provisioning flow SonarCloud now rejects (403). Bump to the SHA-pinned v8.2.0 — the version already working in the sibling repos (agentcore, PromptArena-deploy-omnia) — and pass GITHUB_TOKEN for PR decoration. sonar.qualitygate.wait=true stays in sonar-project.properties.

The old SonarSource/sonarqube-scan-action@v3 fails with
"Error status returned by url [https://api.sonarcloud.io/analysis/jres]: 403"
when its bundled scanner provisions a JRE — SonarCloud rejects the old
flow, so the SonarQube Analysis check fails on every PR. Pin to v8.2.0
(the version already working in the sibling repos) and pass GITHUB_TOKEN
for PR decoration.

Signed-off-by: Charlie Holland <charlie@hollandtech.net>
@chaholl
chaholl merged commit 61bfc94 into main Jun 24, 2026
9 of 10 checks passed
@chaholl
chaholl deleted the fix/sonar-scanner-403 branch June 24, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant