Skip to content

ci: rust-deny only fires on push/PR, so a new advisory fails a stranger's next PR #197

Description

@plusky

Subtask of #169 (worth doing now, ranked 3).

rust-deny fires only on push and pull_request. So a fresh RustSec advisory
against a dependency does not announce itself — it waits, and then fails
whichever stranger's PR happens to arrive next
, in a job that has nothing to do
with their change.

Suggested direction

A schedule: cron running an advisories-only cargo deny check advisories.
Keep it separate from the gating rust-deny job so a new advisory does not
retroactively turn main red; the point is to shoot the messenger somewhere
other than a contributor's PR.

Why not just rely on Dependabot alerts

They cover most of it. RustSec's unmaintained and unsound classes are its
own, and deny.toml already opts into them — a scheduled run is what surfaces
them on our schedule rather than someone else's.

Note cargo-audit itself was assessed and skipped: redundant with cargo deny.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-assistedAuthored or substantially written with an AI coding agentgithub_actionsPull requests that update GitHub Actions code

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions