You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BUILD-10586 Fix inconsistencies between actions inputs, outputs and behaviors
- Add `deploy` input to build-npm, build-yarn, build-poetry (consistent with build-maven/build-gradle)
- Enable deployment on long-lived feature branches (feature/long/*) for npm/yarn/poetry
- Add `disable-caching` input to build-npm, build-yarn, config-npm; deprecate `cache-npm`/`cache-yarn`
- Add `should_scan()` to build-gradle to filter SonarQube analysis by branch type
- Add CONFIG_NPM_COMPLETED idempotency guard to config-npm (consistent with config-gradle/config-maven)
- Condition Artifactory deploy token vault secret on deploy being enabled
- Align shadow scan warning to GitHub Actions ::warning stderr format across all actions
- Align run-shadow-scans description and sh header documentation across all build actions
- Fix artifactory-deploy-repo description in build-npm (private-qa was incorrectly named public-qa)
- Update README: deployment strategy table, input tables, remove resolved known bugs and TODOs
- Code style: consolidate parameter validation, fix readonly declarations, align sh header labels
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
sonar-platform: next # SonarQube platform (next, sqc-eu, or sqc-us)
423
-
run-shadow-scans: false # Run SonarQube scans on all 3 platforms (next, sqc-eu, sqc-us)
424
414
```
425
415
426
416
**Disable caching entirely:**
@@ -439,7 +429,8 @@ jobs:
439
429
| `artifactory-reader-role` | Suffix for the Artifactory reader role in Vault | `private-reader` for private repos, `public-reader` for public repos |
440
430
| `artifactory-deployer-role` | Suffix for the Artifactory deployer role in Vault | `qa-deployer` for private repos, `public-deployer` for public repos |
441
431
| `artifactory-deploy-repo` | Deployment repository | `sonarsource-pypi-private-qa` for private repositories, `sonarsource-pypi-public-qa` for public repos |
# Enable shadow scans for unified platform dogfooding (optional)
944
-
run-shadow-scans: 'true'
945
-
# Primary platform when shadow scans disabled (optional)
946
-
sonar-platform: 'next'
947
929
```
948
930
949
931
### Input Environment Variables
@@ -962,9 +944,11 @@ See also [`config-npm`](#config-npm) input environment variables.
962
944
| `artifactory-reader-role` | Suffix for the Artifactory reader role in Vault | `private-reader` for private repos, `public-reader` for public repos |
963
945
| `artifactory-deployer-role` | Suffix for the Artifactory deployer role in Vault | `qa-deployer` for private repos, `public-deployer` for public repos |
964
946
| `artifactory-deploy-repo` | Deployment repository | `sonarsource-npm-private-qa` for private repos, `sonarsource-npm-public-qa` for public repos |
# Enable shadow scans for unified platform dogfooding (optional)
1045
-
run-shadow-scans: 'true'
1046
-
# Primary platform when shadow scans disabled (optional)
1047
-
sonar-platform: 'next'
1048
1027
```
1049
1028
1050
1029
### Input Environment Variables
@@ -1062,9 +1041,11 @@ jobs:
1062
1041
| `artifactory-reader-role` | Suffix for the Artifactory reader role in Vault | `private-reader` for private repos, `public-reader` for public repos |
1063
1042
| `artifactory-deployer-role` | Suffix for the Artifactory deployer role in Vault | `qa-deployer` for private repos, `public-deployer` for public repos |
1064
1043
| `artifactory-deploy-repo` | Deployment repository | `sonarsource-private-qa` for private repositories, `sonarsource-public-qa` for public repos |
0 commit comments