Skip to content

ci: let the security audit create its check run on pushes - #797

Merged
ajianaz merged 1 commit into
developfrom
ci/audit-checks-permission
Nov 17, 2026
Merged

ajianaz merged 1 commit into
developfrom
ci/audit-checks-permission

Conversation

@ajianaz

@ajianaz ajianaz commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

What

The audit job in .github/workflows/ci.yml gets its own permissions block: contents: read and checks: write.

Why

Since CI also runs on pushes to develop (#788), Security Audit (CVE) fails there although cargo audit reports no vulnerabilities: rustsec/audit-check creates a check run and the workflow token lacks checks: write (Resource not accessible by integration). A red develop after every merge hides real failures. Closes #796.

Testing

  • The workflow parses as valid YAML; only the audit job gets the extra permission, the other jobs keep the workflow-level ones.
  • After the merge, the push run on develop must show Security Audit (CVE) green; the previous push run had every other job green (Clippy, Test, Check, Build, Cargo Outdated).

@ajianaz
ajianaz merged commit aaa3729 into develop Nov 17, 2026
16 checks passed
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.

ci: Security Audit (CVE) fails on pushes to develop (missing checks: write)

1 participant