BUILD-8830 disable sonar scans for build-gradle option#96
Conversation
14734d8 to
cf0e11c
Compare
cf0e11c to
1083c0e
Compare
🤖 Pull Request summaryUpdates Gradle build action to support skipping SonarQube analysis. • Added 'none' option to sonar-platform parameter to disable SonarQube scans entirely Review focus: Verify the conditional logic properly handles all code paths when sonar-platform='none', especially around environment validation and the orchestrator bypass.
|
| default: '' | ||
| sonar-platform: | ||
| description: SonarQube variant (next, sqc-eu, or sqc-us) | ||
| description: SonarQube variant (next, sqc-eu, sqc-us, or none). Use 'none' to skip sonar scans. |
There was a problem hiding this comment.
@mikolaj-matuszny-ext-sonarsource
Just wondering if we can make use of a choice here:
https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#example-of-onworkflow_dispatchinputs
There was a problem hiding this comment.
This is a general action and on: workflow_dispatch is how you execute it.
In your project you can define such input options which you can select when manually triggering the workflow. Then you can pass this input to you action call.
It's not an option in action definition which is what's we're creating here.



BUILD-8830