BUILD-10586 Fix inconsistencies between actions inputs, outputs and behaviors#231
BUILD-10586 Fix inconsistencies between actions inputs, outputs and behaviors#231julien-carsique-sonarsource wants to merge 1 commit intomasterfrom
Conversation
…ehaviors - Add `deploy` input to build-npm, build-yarn, build-poetry actions - Enable deployment on long-lived feature branches (npm/yarn/poetry) - Align shadow scan warning to GitHub Actions `::warning` format - Add `disable-caching` input to build-npm/build-yarn (deprecate `cache-npm`/`cache-yarn`) - Add `should_scan()` to build-gradle to filter Sonar analysis by branch type - Condition Artifactory deploy token vault secret on deploy being enabled - Update specs: add DEPLOY tests, fix stderr/stdout assertions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
SonarQube reviewer guideSummary: Standardize deployment and Sonar scanning behavior across build scripts (Gradle, NPM, Yarn, Poetry) by adding explicit Review Focus:
Start review at:
|





Summary
Fixes BUILD-10586 — inconsistencies between
ci-github-actionsinputs, outputs, deploy and scan behaviors.deployinput tobuild-npm,build-yarn,build-poetry(was already present inbuild-gradle/build-maven)disable-cachinginput tobuild-npm/build-yarn; deprecatecache-npm/cache-yarn(aligns with poetry/gradle/maven naming)build-gradlevia newshould_scan()function (was previously running on all branches whensonar-platform != none)::warningstderr format across all actionsinputs.deploy != 'false' && inputs.run-shadow-scans != 'true')Test plan