Skip to content

Commit 8e39a56

Browse files
committed
ci: Install pip-audit before running pin_safe_versions
pin_safe_versions.py now calls pip-audit for vulnerability checks. Without this line it silently falls back to 'allow all' (FileNotFoundError is caught and returns True), meaning the security scan never ran. Signed-off-by: Cagri Yonca <cagri@ibm.com>
1 parent 0b33dfc commit 8e39a56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ commands:
5050
name: Apply grace period to installed packages
5151
command: |
5252
. venv/bin/activate
53-
pip install --quiet requests packaging
53+
pip install --quiet requests packaging pip-audit
5454
python .circleci/pin_safe_versions.py <<parameters.requirements>>
5555
5656
run-tests-with-coverage-report:

0 commit comments

Comments
 (0)