From 5a614dc8c5f977726a91a1c6c9b2435c83f35276 Mon Sep 17 00:00:00 2001 From: Kshitiz-Mhto Date: Sat, 18 Mar 2023 13:35:28 +0545 Subject: [PATCH] 2 in 1 action --- .github/workflows/build-n-publish.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-n-publish.yaml b/.github/workflows/build-n-publish.yaml index fbeca60..b100e80 100644 --- a/.github/workflows/build-n-publish.yaml +++ b/.github/workflows/build-n-publish.yaml @@ -40,18 +40,18 @@ jobs: pwd ls - name: Scan for vulnerabilities - working-directory: ./ecommerce-website-django + # working-directory: ./ecommerce-website-django run: | wget https://github.com/google/osv-scanner/releases/download/v1.2.0/osv-scanner_1.2.0_linux_amd64 chmod +x ./osv-scanner_1.2.0_linux_amd64 - ./osv-scanner_1.2.0_linux_amd64 requirements.txt + ./osv-scanner_1.2.0_linux_amd64 -r . - - name: Scan for vulnerabilities - working-directory: ./epl-board - run: | - wget https://github.com/google/osv-scanner/releases/download/v1.2.0/osv-scanner_1.2.0_linux_amd64 - chmod +x ./osv-scanner_1.2.0_linux_amd64 - ./osv-scanner_1.2.0_linux_amd64 requirements.txt + # - name: Scan for vulnerabilities + # working-directory: ./epl-board + # run: | + # wget https://github.com/google/osv-scanner/releases/download/v1.2.0/osv-scanner_1.2.0_linux_amd64 + # chmod +x ./osv-scanner_1.2.0_linux_amd64 + # ./osv-scanner_1.2.0_linux_amd64 requirements.txt - name: Publish package uses: pypa/gh-action-pypi-publish@v1.8.1