Skip to content

ci: do not let SonarCloud block publishing - #18

Merged
djpugh merged 1 commit into
mainfrom
fix/sonar-continue-on-error
Aug 5, 2026
Merged

ci: do not let SonarCloud block publishing#18
djpugh merged 1 commit into
mainfrom
fix/sonar-continue-on-error

Conversation

@djpugh

@djpugh djpugh commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Summary

SONAR_TOKEN is being rejected (Failed to query JRE metadata), so the SonarCloud job fails. publish-package lists it in needs, so the job was skipped and 0.1.1 never reached PyPI.

Job-level continue-on-error makes needs.sonarcloud.result report success, so dependents run, while the job still shows a red X and the run still reports failure — a broken scan stays visible rather than silently swallowed.

Tested

Workflow parses as valid YAML; publish-package needs unchanged otherwise. Real verification is the next tagged build.

Follow-up

The token still needs rotating. Publishing 0.1.1 also needs a tag whose commit contains this change, since tag-push runs read the workflow from the tag ref — so either cut 0.1.2 or move the 0.1.1 tag.

A rejected SONAR_TOKEN failed the scan, which skipped publish-package and
blocked the 0.1.1 release.
@github-actions github-actions Bot added the fix label Aug 5, 2026
@sonarqubecloud

sonarqubecloud Bot commented Aug 5, 2026

Copy link
Copy Markdown

@djpugh
djpugh enabled auto-merge (squash) August 5, 2026 18:04
@djpugh
djpugh merged commit 87655a2 into main Aug 5, 2026
46 of 59 checks passed
@djpugh
djpugh deleted the fix/sonar-continue-on-error branch August 5, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant