Skip to content

Test: SonarCloud PR analysis workflows#10

Open
gnodet wants to merge 4 commits intomainfrom
sonar-pr-analysis
Open

Test: SonarCloud PR analysis workflows#10
gnodet wants to merge 4 commits intomainfrom
sonar-pr-analysis

Conversation

@gnodet
Copy link
Copy Markdown
Owner

@gnodet gnodet commented Mar 30, 2026

Testing the two-workflow pattern for SonarCloud PR analysis.

  • sonar-build.yml: builds on pull_request, uploads compiled classes as artifact
  • sonar-scan.yml: triggered by workflow_run, downloads artifacts and runs sonar scan with secrets

gnodet and others added 2 commits March 30, 2026 17:41
Add two-workflow pattern for secure SonarCloud analysis on PRs:
- sonar-build.yml: builds on pull_request, uploads compiled classes
- sonar-scan.yml: runs on workflow_run with access to secrets, performs sonar scan

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet closed this Mar 30, 2026
@gnodet gnodet reopened this Mar 30, 2026
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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