From fbe9249d3cfbe382ff17cc62b46d2a714b5df967 Mon Sep 17 00:00:00 2001 From: Kunal Dawar Date: Fri, 25 Oct 2024 13:15:53 +0530 Subject: [PATCH] Updated Flow --- .github/actions/rl-scanner/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/rl-scanner/action.yml b/.github/actions/rl-scanner/action.yml index 14b3a3ac6..eb0171342 100644 --- a/.github/actions/rl-scanner/action.yml +++ b/.github/actions/rl-scanner/action.yml @@ -31,7 +31,7 @@ runs: - name: Install RL Wrapper shell: bash run: | - pip install rl-wrapper>=1.0.0 --index-url " env.PRODSEC_TOOLS_USER }}:${{ env.PRODSEC_TOOLS_TOKEN }}@a0us.jfrog.io/artifactory/api/pypi/python-local/simple" + pip install rl-wrapper>=1.0.0 --index-url "https://${{ env.PRODSEC_TOOLS_USER }}:${{ env.PRODSEC_TOOLS_TOKEN }}@a0us.jfrog.io/artifactory/api/pypi/python-local/simple" - name: Run RL Scanner shell: bash @@ -55,6 +55,7 @@ runs: --build-env "github_actions" \ --suppress_output + # Check the outcome of the scanner if [ $? -ne 0 ]; then echo "RL Scanner failed." echo "scan-status=failed" >> $GITHUB_ENV