Repository navigation
Conversation
Run cargo deny check advisories and cargo deny check bans licenses sources on every pull request, master push and weekly, in place of the scheduled-only cargo audit workflow.
This was referenced Nov 27, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What it does
.github/workflows/audit.yml. It rancargo audit(advisories only) on a schedule only (itspushtrigger is commented out), and has failed every run since at least Oct 29 without anyone acting on it..github/workflows/cargo-deny.yml:cargo deny check advisoriesandcargo deny check bans licenses sourcesas two jobs, on everypull_request(nopathsfilter),pushto master, andworkflow_dispatch. No schedule: a failed background run goes unread; PRs are the gate. Actions are pinned by SHA.deny.toml: a license allow-list, crates.io plus the three git deps we use (graphprotocol/pgtemp,graphprotocol/stable-hash,tower-rs/tower) as allowed sources, duplicate versions as warnings, and an advisoryignorelist with a reason per entry: 5 unmaintained crates with no drop-in fix, crypto-bigint's timing advisory (no private keys held), and 20 wasmtime advisories fixed only in 48.x+ (needs rustc 1.95, toolchain pinned to 1.94). 19 of those don't apply (component model, WASI,threads-less builds, unused APIs); RUSTSEC-2026-0379 does affect aarch64 builds and is accepted until the toolchain pin moves.Depends on #6824 (non-wasmtime bumps) and #6823 (wasmtime 46.0.3). Until both merge,
cargo deny check advisoriesfails here; after a rebase it should pass.bans licenses sourcespasses now. Then make both jobs required checks, so a new advisory blocks PRs until fixed or ignored with a reason.Tests: none; CI only. Checked locally with cargo-deny 0.21.0.