Skip to content

Commit

Permalink
ci: add pip audit security workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
duggalsu committed Mar 7, 2024
1 parent e28409b commit b7a4db2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/pr-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,18 @@ jobs:
pip install ruff
ruff --output-format=github ./src/
continue-on-error: false

- name: pip audit install setup
run: |
python -m venv env/
source env/bin/activate
- name: pip audit
uses: pypa/[email protected]
with:
# must be populated earlier in the CI
virtual-environment: env/
local: true
inputs: |
./src/requirements.txt
./src/core/operators/audio_vec_embedding_requirements.txt
./src/core/operators/vid_vec_rep_resnet_requirements.txt

0 comments on commit b7a4db2

Please sign in to comment.