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