Repository navigation
Fix the Audit workflow and update unsound dependencies - #32
Merged
Merged
Conversation
…cies audit-check reports warnings as a check run, which the repository's read-only GITHUB_TOKEN can't create, so Audit failed on every push to main that had warnings. Grant checks: write. Update anyhow to 1.0.104, the rand dev-dependency to 0.9.5, and libc to 0.2.182 so rustix can move to 1.1.6, clearing RUSTSEC-2026-0190, RUSTSEC-2026-0097 and RUSTSEC-2026-0486. pin-utils (RUSTSEC-2026-0441, unmaintained) has no fixed release and stays a warning.
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.
The Audit workflow failed on the
v0.4.0push to main (run 43716643291).cargo auditfound no vulnerabilities, butrustsec/audit-checkreports warnings as a check run. The repository's defaultGITHUB_TOKENis read-only, so creating the check run failed with "Resource not accessible by integration". On pull requests the action treats this error as a fork and passes, which is why only push runs failed.Changes
audit.yml: grantcontents: readandchecks: write.anyhow1.0.98 → 1.0.104 (RUSTSEC-2026-0190)rand0.9.1 → 0.9.5, dev-dependency only (RUSTSEC-2026-0097)rustix1.0.5 → 1.1.6 (RUSTSEC-2026-0486). This needslibc0.2.172 → 0.2.182.devlayer did not call the affected code:
Error::downcast_mut, rustix's xattr functions (rustix comes only through clap → terminal_size), andrandin the binary.pin-utils(RUSTSEC-2026-0441, unmaintained) has no fixed release, so Audit still reports 1 warning. With this change the warning is published as a check run and does not fail the job.Testing