Skip to content

Replace Trivy with OSV-Scanner and switch docs from pipx to uv - #2

Merged
GRodolphe merged 1 commit into
mainfrom
chore/osv-scanner-and-uv
Jul 26, 2026
Merged

Replace Trivy with OSV-Scanner and switch docs from pipx to uv#2
GRodolphe merged 1 commit into
mainfrom
chore/osv-scanner-and-uv

Conversation

@GRodolphe

Copy link
Copy Markdown
Owner

Summary

  • Removed Trivy from the CI and release workflows
  • Added OSV-Scanner (osv.dev) using the official google/osv-scanner-action reusable workflow, v2.3.8
  • Switched the docs from pipx to uv for installation and development

Details

  • ci.yml: new osv-scan job, build now waits for it. The old commented out Trivy container job is gone too.
  • release.yml: osv-scan runs as a gate before build and publish. The trivy JSON files are no longer attached to releases.
  • Scan results now land in the GitHub Security tab (SARIF) instead of JSON artifacts.
  • README.md: quick start and dev setup use uv tool install, uv venv and uv pip install. Security tools list now covers OSV-Scanner.
  • SECURITY.md: dependency scanning now lists Safety and OSV-Scanner.

Related to #1 (the uv part).

- ci.yml and release.yml: drop Trivy steps, add osv-scan job using the
  google/osv-scanner-action reusable workflow (v2.3.8), gate build on it
- release.yml: remove trivy JSON files from release assets
- README.md: install and dev setup now use uv instead of pipx,
  security tools list now covers OSV-Scanner
- SECURITY.md: dependency scanning now lists Safety and OSV-Scanner
@GRodolphe GRodolphe self-assigned this Jul 26, 2026
@GRodolphe GRodolphe added the enhancement New feature or request label Jul 26, 2026
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@codecov

codecov Bot commented Jul 26, 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 ☂️

@GRodolphe
GRodolphe merged commit 5486a19 into main Jul 26, 2026
9 checks passed
@GRodolphe
GRodolphe deleted the chore/osv-scanner-and-uv branch July 26, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants