-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,19 @@ | ||
name: createSBOM.yml | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
create-sbom: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Generate SBOM with Syft | ||
uses: anchore/sbom-action@v0 | ||
with: | ||
path: . | ||
config: ".syft/config.yml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# a list of globs to exclude from scanning, for example: | ||
# exclude: | ||
# - "/etc/**" | ||
# - "./out/**/*.json" | ||
# SYFT_EXCLUDE env var / --exclude flag | ||
# | ||
# 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/**" |