Skip to content

fix(ci): resolve SonarCloud security rating failures on main - #116

Merged
AlexanderWagnerDev merged 1 commit into
mainfrom
cursor/ci-autofix-automation-37e8
Aug 11, 2026
Merged

fix(ci): resolve SonarCloud security rating failures on main#116
AlexanderWagnerDev merged 1 commit into
mainfrom
cursor/ci-autofix-automation-37e8

Conversation

@cursor

@cursor cursor Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

SonarCloud Quality Gate on main fails because new_security_rating is C (open vulnerabilities in the new-code period).

Changes

  • Pin GitHub Actions to full commit SHAs in docker-multiarch.yml and release.yml (githubactions:S7637)
  • Use pip install --only-binary :all: with pinned pytest==9.1.1 in CI workflows and Docker build (S8541/S8544)
  • Move contents: write permission from workflow scope to the package job in release.yml (S8233)
  • Replace COPY . . with explicit paths and add .dockerignore (docker:S6470)
  • Mark intentional RTMP URL generation with # nosonar (python:S5332)

Root cause

PR #99 (Renovate) bumped docker/login-action to floating v4.6.0 tags, adding S7637 findings; other open Major/Critical issues in the same new-code window also keep the security rating at C.

Open in Web View Automation 

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Pin GitHub Actions to full commit SHAs, use locked pip installs with
--only-binary in CI/Docker, scope release workflow write permissions to
the package job, replace COPY . . with explicit paths plus .dockerignore,
and mark intentional RTMP URL generation with nosonar annotations.

Co-authored-by: Alexander Wagner <info@alexanderwagnerdev.com>
@sonarqubecloud

Copy link
Copy Markdown

@AlexanderWagnerDev
AlexanderWagnerDev marked this pull request as ready for review August 11, 2026 12:04
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing

@AlexanderWagnerDev
AlexanderWagnerDev merged commit 5023b89 into main Aug 11, 2026
8 checks passed
@AlexanderWagnerDev
AlexanderWagnerDev deleted the cursor/ci-autofix-automation-37e8 branch August 11, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants