Skip to content

Add support for cargo-audit deny options #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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