Skip to content

fix(ci): upgrade setuptools for security audit - #4

Merged
AmaLS367 merged 2 commits into
mainfrom
codex/fix-setuptools-security
Jul 29, 2026
Merged

fix(ci): upgrade setuptools for security audit#4
AmaLS367 merged 2 commits into
mainfrom
codex/fix-setuptools-security

Conversation

@AmaLS367

Copy link
Copy Markdown
Owner

Updates the GitHub Actions security environment to install setuptools 83.0.0 or newer before pip-audit, and raises the build-system floor. Also avoids uploading a missing Trivy SARIF file when an earlier step fails.

Copilot AI review requested due to automatic review settings July 29, 2026 13:05
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the project’s packaging and CI security-scanning environment to ensure a sufficiently new setuptools is present for security auditing, and makes the Trivy SARIF upload step conditional on the SARIF file actually being produced.

Changes:

  • Raised the build-system minimum setuptools requirement to >=83.0.0.
  • Updated the security workflow to install setuptools>=83.0.0 alongside the pip upgrade.
  • Prevented the Trivy SARIF upload step from running when trivy-results.sarif is missing.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
pyproject.toml Raises the build-system setuptools floor to match the security/audit requirement.
.github/workflows/security.yml Ensures CI installs a secure setuptools before audits and skips SARIF upload if the file isn’t generated.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@AmaLS367
AmaLS367 merged commit 6d2d88f into main Jul 29, 2026
8 checks passed
@AmaLS367
AmaLS367 deleted the codex/fix-setuptools-security branch July 29, 2026 13:20
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