Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 664 Bytes

hint4.md

File metadata and controls

33 lines (25 loc) · 664 Bytes

Hint 4

You can add args to the action to limit you results to only get severities above a certain value

    with:
          args: --severity-threshold=high

Alternatively you can continue on error if you prefer that

continue-on-error: true

Example:

  opensource-security:
    needs: [ build ]
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - name: Run Snyk to check for vulnerabilities
        uses: snyk/actions/maven@master
        #        continue-on-error: true
        env:
          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
        with:
          args: --severity-threshold=high