Skip to content

Commit c4a380a

Browse files
committed
Fix CycloneDX SBOM generation command syntax and add error handling
Signed-off-by: DavidOsipov <[email protected]>
1 parent a5d779a commit c4a380a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sonarqube.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
138138
# Generate SBOM in JSON format from Poetry project with correct parameter syntax
139139
# Remove the trailing dot and fix the --with parameter syntax
140-
poetry run cyclonedx-py poetry --with dev --pyproject pyproject.toml -o cyclonedx_report.json --of JSON --validate
140+
poetry run cyclonedx-py poetry --with dev -o cyclonedx_report.json --of JSON --validate --all-extras
141141
142142
# Add error handling and debugging
143143
if [ -f "cyclonedx_report.json" ]; then

0 commit comments

Comments
 (0)