Skip to content

Commit

Permalink
Update checkout version and try to inline config
Browse files Browse the repository at this point in the history
  • Loading branch information
andip1403 committed Nov 1, 2024
1 parent 858dc4d commit e5ddb70
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/createAndScanSBOM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,21 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Generate SBOM with Syft
uses: anchore/sbom-action@v0
with:
path: .
output-file: "${{ github.event.repository.name }}-sbom.cyclonedx.json"
format: "cyclonedx-json"
config: ".syft/config.yml"
config: |
# For studio-client plugins you can skip the scanning process
# because they are not supposed to introduce new dependencies.
# The dependencies in the lockfile are considered runtime dependencies.
# The actual version is determined by the studio-client application.
exclude:
- "./studio-client/**"
- name: Scan SBOM with Grype
id: scan
Expand Down

0 comments on commit e5ddb70

Please sign in to comment.