Skip to content

Conversation

the-luddite
Copy link

The action previously only failed on critical security vulnerabilities. There was no way to make the job fail on other types of issues like unmaintained packages, unsound packages, or yanked packages that cargo-audit can detect.

Solution

Added support for cargo-audit's --deny flag options, allowing users to configure the action to fail on specific types of warnings.

New Features

  • Added input parameter supporting all cargo-audit deny options:
  • warnings - Fail on any warnings (catch-all)
  • unmaintained - Fail on unmaintained packages
  • unsound - Fail on unsound packages
  • yanked - Fail on yanked packages

- Add support for `warnings` deny option (catch-all)
- Fix deny logic for `unmaintained`, `unsound`, `yanked`
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.

1 participant