From 276922ca3effb87c240a9d638388b7c55f9479fa Mon Sep 17 00:00:00 2001 From: rkpattnaik780 Date: Fri, 12 Jan 2024 18:34:56 +0530 Subject: [PATCH] fix: address review comments --- .github/workflows/sec-scan.yml | 8 ++++---- Makefile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sec-scan.yml b/.github/workflows/sec-scan.yml index f07d1f9a7..82f3bdb6a 100644 --- a/.github/workflows/sec-scan.yml +++ b/.github/workflows/sec-scan.yml @@ -39,7 +39,7 @@ jobs: git checkout -b ${{ env.SEC_SCAN_BRANCH }} git push --set-upstream origin ${{ env.SEC_SCAN_BRANCH }} - update-n-version: + check-vulnerabilities: needs: [initialize] runs-on: ubuntu-latest permissions: @@ -106,10 +106,10 @@ jobs: - name: execute py script # run trial.py env: HASH_N: ${{ steps.hash-n.outputs.HASH_N }} - RELEASE_VERSION_N: 2023b + RELEASE_VERSION_N: ${{ env.RELEASE_VERSION_N }} HASH_N_1: ${{ steps.hash-n-1.outputs.HASH_N_1 }} - RELEASE_VERSION_N_1: 2023a + RELEASE_VERSION_N_1: ${{ env.RELEASE_VERSION_N_1 }} LATEST_MAIN_COMMIT: ${{ steps.hash-main.outputs.LATEST_MAIN_COMMIT }} run: make scan-image-vulnerabilities @@ -120,7 +120,7 @@ jobs: # Creates the Pull Request open-pull-request: - needs: [update-n-version] + needs: [check-vulnerabilities] runs-on: ubuntu-latest permissions: pull-requests: write diff --git a/Makefile b/Makefile index c83078a26..aa5015212 100644 --- a/Makefile +++ b/Makefile @@ -473,4 +473,4 @@ refresh-pipfilelock-files: # For running manually, set the required environment variables .PHONY: scan-image-vulnerabilities scan-image-vulnerabilities: - python ci/security-scan/quay_security_analysis.py \ No newline at end of file + python ci/security-scan/quay_security_analysis.py