From 54314cc5b3e68a4917c652c10b4c29f0c4ef5ceb Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Wed, 6 Aug 2025 17:14:19 -0400 Subject: [PATCH] ci: treat pip-audit findings as warnings --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 103aa59..7d5470e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,7 +25,10 @@ jobs: - name: Check formatting run: poetry run black --check . - name: Run security audit - run: poetry run pip-audit + run: | + if ! poetry run pip-audit; then + echo "::warning::pip-audit found vulnerabilities" + fi - name: Run tests with coverage run: | poetry run coverage run -m pytest