Skip to content

Commit

Permalink
upload the sarif for registry1
Browse files Browse the repository at this point in the history
Signed-off-by: naveensrinivasan <[email protected]>
  • Loading branch information
naveensrinivasan committed Apr 3, 2024
1 parent 0229466 commit 25e6621
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 25e6621

Please sign in to comment.