From 25e66219e40cecbe3758e27ed5fdc5005dbec0c1 Mon Sep 17 00:00:00 2001 From: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com> Date: Wed, 3 Apr 2024 10:37:52 -0500 Subject: [PATCH] upload the sarif for registry1 Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com> --- .github/workflows/scan.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/scan.yaml b/.github/workflows/scan.yaml index 43594754..faf4298a 100644 --- a/.github/workflows/scan.yaml +++ b/.github/workflows/scan.yaml @@ -75,17 +75,8 @@ jobs: GRYPE_USERNAME: ${{ secrets.IRON_BANK_ROBOT_USERNAME }} GRYPE_PASSWORD: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} - - name: Check for SARIF files - Registry1 - id: check_sarif - run: | - if compgen -G "./sarif/*.sarif" > /dev/null; then - echo "::set-output name=exists::true" - else - echo "::set-output name=exists::false" - fi - - name: Upload SARIF files - Registry1 if: steps.check_sarif.outputs.exists == 'true' uses: github/codeql-action/upload-sarif@1b1aada464948af03b950897e5eb522f92603cc2 with: - sarif_file: ./sarif/*.sarif + sarif_file: ./sarif