Skip to content

Commit

Permalink
Add pip-audit support
Browse files Browse the repository at this point in the history
  • Loading branch information
srgoni committed Aug 18, 2023
1 parent 5d56141 commit 2cab5ba
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,15 @@ jobs:
run: |
cat "${{ steps.analysis.outputs.sarif-output }}/python.sarif"
echo "${{ steps.analysis.outputs.sarif-id }}"
pip-audit:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
with:
sparse-checkout: python/
- uses: pypa/[email protected]
with:
inputs: requirements.txt
# SARIF reports aren't supported by pip-audit yet:
# https://github.com/pypa/pip-audit/issues/206

0 comments on commit 2cab5ba

Please sign in to comment.