Skip to content

Commit

Permalink
ci: Output the scan into a table.
Browse files Browse the repository at this point in the history
  • Loading branch information
nfelt14 committed Feb 28, 2024
1 parent 4e5d39d commit cfc368e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/sbom-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: x # any version
- name: Create lockfile
run: |
pip install poetry
Expand All @@ -29,8 +31,9 @@ jobs:
sbom: ${{ github.event.repository.name }}-sbom.spdx.json
fail-build: true
severity-cutoff: low
- name: Upload SBOM scan SARIF report
if: ${{ github.event_name != 'pull_request' }}
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.scan.outputs.sarif }}
output-format: table
# - name: Upload SBOM scan SARIF report
# if: ${{ github.event_name != 'pull_request' }}
# uses: github/codeql-action/upload-sarif@v3
# with:
# sarif_file: ${{ steps.scan.outputs.sarif }}

0 comments on commit cfc368e

Please sign in to comment.