sonarscan-dotnet
sonarscan-dotnet copied to clipboard
Feature Request: Support for sonarEndArguments
Description: Currently, the highbyte/sonarscan-dotnet GitHub Action supports passing extra arguments only to the SonarScanner begin step via the sonarBeginArguments input
There is no equivalent input for the end step, which limits the ability to pass important parameters such as /d:sonar.qualitygate.wait=true.
Request: Please add a sonarEndArguments input to the action, allowing users to pass custom arguments to the dotnet-sonarscanner end step
Note: Using .Net 8 with GitHub Actions for CI Modifications need to introduce in entrypoint.sh
INPUT_SONARENDARGUMENTS="${INPUT_SONARENDARGUMENTS:-}"
sonar_end_cmd="/dotnet-sonarscanner end /d:sonar.token=\"${SONAR_TOKEN}\""
if [ -n "$INPUT_SONARENDARGUMENTS" ]; then
sonar_end_cmd="$sonar_end_cmd $INPUT_SONARENDARGUMENTS"
fi