From e5768c1c6c43ba8c48c343547804dc6cc2f98d39 Mon Sep 17 00:00:00 2001 From: nanuchi Date: Fri, 27 Oct 2023 13:29:35 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 325a5f5..5d9eb8c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,7 +46,14 @@ jobs: run: pip install safety - name: Run Dependencies Scan - run: safety check -r requirements.txt + run: safety check -r requirements.txt --output json > sca-report.json + + - name: Upload Artifact + uses: actions/upload-artifact@v3 + if: always() + with: + name: safety-check-findings + path: sca-report.json