This repository was archived by the owner on Oct 13, 2023. It is now read-only.
  
  
  - 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 45
 
Add support for --ignoreΒ #223
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Do the checklist before filing an issue:
-  Is this related to the 
actions-rsActions? - You've read the Contributing section about feature requests: https://github.com/actions-rs/.github/blob/master/CONTRIBUTING.md#feature-requests
 - Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
 
Motivation
Sometimes addressing an advisory is not important for a repository.  Maybe it's only used in test or deprecated code, or is a difficult fix and analysis of the vulnerability shows the repo isn't actually vulnerable.  In those cases, cargo audit provides --ignore, but it seems this option is not available in the GitHub action.
Workflow example
jobs:
  audit:
    runs-on: ubuntu-latest
    permissions: write-all
    name: "Audit Dependencies"
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/audit-check@v1                                                                                                                                                                                                                                                                                        
        with:
          ignore:
            - RUSTSEC-2021-0124
          token: ${{ secrets.GITHUB_TOKEN }}uklotzde, buehler, SeriousBug, israelyago, maheshrayas and 3 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request