gnodet opened a new pull request, #22477:
URL: https://github.com/apache/camel/pull/22477

   [CAMEL-23274](https://issues.apache.org/jira/browse/CAMEL-23274)
   
   ## Summary
   
   - Temporarily disable `sonar-build` and `sonar-scan` workflows until the 
SonarCloud quality gate is adjusted 
([INFRA-27808](https://issues.apache.org/jira/browse/INFRA-27808))
   - Fix BLOCKER vulnerability `githubactions:S7630` in `sonar-build.yml`: 
user-controlled expressions (`github.event.pull_request.head.ref`) used 
directly in `run` blocks enable script injection — moved to `env` variables
   
   ## Why disable?
   
   The quality gate requires ≥80% coverage, but only core modules produce 
coverage data. This causes failures on all PRs touching components and on main 
branch builds. A request to adjust the gate has been filed as INFRA-27808.
   
   To re-enable: remove the `false &&` from the `if` conditions in both 
workflow files.
   
   ## Test plan
   
   - [x] `sonar-build.yml` job condition evaluates to `false`, workflow is 
skipped
   - [x] `sonar-scan.yml` job condition evaluates to `false`, workflow is 
skipped
   - [x] Script injection fix uses `env` variables instead of direct expression 
interpolation


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to